Details

    • Type: extRequest
    • Status: Closed
    • Priority: Major
    • Resolution: Done
    • Fix Version/s: 2021
    • Component/s: FIWARE-LAB-HELP
    • Labels:
      None

      Description

      Hi.

      I followed the tutorial to connect trough SSH to the VM but I got this error:

      Permission denied (publickey).
      Emirs-MacBook-Pro:~ ebosques$ chmod 400 KeyNolb.pem
      chmod: KeyNolb.pem: No such file or directory
      Emirs-MacBook-Pro:~ ebosques$ ssh -i KeyNolb.pem ubuntu@130.206.122.238 <ubuntu@130.206.122.238>
      Warning: Identity file KeyNolb.pem not accessible: No such file or directory.
      ##################################################################################
      NOTE: You have accessed a system owned by FIWARE Lab. You must have authorisation
      before using it, and your use will be strictly limited to that indicated in the
      authorisation.
      Unauthorised access to this system or improper use of the same is prohibited and
      is against the FIWARE Terms & Conditions Policy and the legislation in force. The
      use of this system may be monitored.
      #################################################################################

      In the tutorial the man show an option to download the KEYPAIR. But When I created my KEYPAIR the FIWARE page does not show me any link to download the KEYPAIR file. So when I going to give the permission, suggested by the “Connection’s Tab” in the INSTANCES’ menu:

      Open the Terminal
      Locate the keypair asocciate to this Instance when launching it.
      my_keypair.pem

      Modify the keypair permissions in order to make it not publicly viewable.
      chmod 400 my_keypair.pem

      Connect to the Instance using its public IP and the appropiate username depending on the VM SO (ubuntu, centos, ...).
      ssh -i my_keypair.pem user_name@130.206.122.238

      I do not know where is located the .pem file, in my case will be KeyNolb.pem, because I have not downloaded, because I do not see any link in the security menu to let me do this action.

      So the question is: how could I download the file? or there is any other method to give the permission to the KEYPAIR file to establish the SSH connection?

      Best regards and thanks for help with my issue!

      Emir Bosques
      Life Supporting Technologies
      Departamento deTecnología Fotónica y Bioingeniería
      E.T.S.I. Telecomunicacion. B303.1
      Universidad Politecnica de Madrid
      Avenida Complutense nº 30, Ciudad Universitaria
      28040 Madrid
      ebosques@lst.tfo.upm.es <gloria@lst.tfo.upm.es>
      Tel: (+34) 91 549 57 00 – ext. 8015
      Fax: (+34) 91 336 73 19

      __________________________________________________________________________________________

      You can get more information about our cookies and privacy policies on the following links:

      Fiware-lab-help mailing list
      Fiware-lab-help@lists.fiware.org
      https://lists.fiware.org/listinfo/fiware-lab-help

      [Created via e-mail received from: ebosques <ebosques@lst.tfo.upm.es>]

      1. DownloadKeypair.png
        35 kB
      2. image.jpeg
        2 kB
      3. image001.jpg
        2 kB

        Activity

        Hide
        fw.ext.user FW External User added a comment -

        Comment by joseignacio.carretero@fiware.org :

        Hi,

        You need a private key in order to connect to your VMs. You have 2 options:

        1. Create the Keypair (private + public key) in your own host and UPLOAD
        the public key to fiware Cloud Portal.

        2. Create a Keypair in FIWare Cloud Portal, and DOWNLOAD the private key

        — We NEVER EVER keep your Private Key. If you loose it, then nothing
        can be done in order to get it back again. It is your responsibility to
        keep that file safe. Thus, we can't provide you any link to your Private
        Key.

        However, if you choose Option 2 In cloud Portal (Security --> Keypairs
        --> Create Keypair), After creating a new keypair, you can see a
        "Download Keypair" link where you can click in order to download the
        Private Key. That is the file you should have had downloaded and which
        must have a name "KeyNolb.pem" in your case. But It seems you are trying
        to use a file you don't have, so It can't be found.

        Please, create a new Keypair, download the Private Key and do as you are
        doing with "KeyNolb.pem".

        Best regards,
        José Ignacio

        El 25/01/17 a las 10:42, ebosques escribió:
        > Hi.
        >
        > I followed the tutorial to connect trough SSH to the VM but I got this
        > error:
        >
        > Permission denied (publickey).
        > Emirs-MacBook-Pro:~ ebosques$ chmod 400 KeyNolb.pem
        > chmod: KeyNolb.pem: No such file or directory
        > Emirs-MacBook-Pro:~ ebosques$ ssh -i KeyNolb.pem
        > ubuntu@130.206.122.238 <ubuntu@130.206.122.238>
        > Warning: Identity file KeyNolb.pem not accessible: No such file or
        > directory.
        > ##################################################################################
        > NOTE: You have accessed a system owned by FIWARE Lab. You must have
        > authorisation
        > before using it, and your use will be strictly limited to that
        > indicated in the
        > authorisation.
        > Unauthorised access to this system or improper use of the same is
        > prohibited and
        > is against the FIWARE Terms & Conditions Policy and the legislation in
        > force. The
        > use of this system may be monitored.
        > #################################################################################
        >
        >
        > In the tutorial the man show an option to download the KEYPAIR. But
        > When I created my KEYPAIR the FIWARE page does not show me any link to
        > download the KEYPAIR file. So when I going to give the permission,
        > suggested by the “Connection’s Tab” in the INSTANCES’ menu:
        >
        > 1. Open the Terminal
        > 2. Locate the keypair asocciate to this Instance when launching it.
        >
        > /my_keypair.pem/
        >
        > 3. Modify the keypair permissions in order to make it not publicly
        > viewable.
        >
        > /chmod 400 my_keypair.pem/
        >
        > 4. Connect to the Instance using its public IP and the appropiate
        > username depending on the VM SO (ubuntu, centos, ...).
        >
        > /ssh -i my_keypair.pem user_name@130.206.122.238
        > <user_name@130.206.122.238>/
        >
        >
        > I do not know where is located the .pem file, in my case will be
        > KeyNolb.pem, because I have not downloaded, because I do not see
        > any link in the security menu to let me do this action.
        >
        > So the question is: how could I download the file? or there is any
        > other method to give the permission to the KEYPAIR file to
        > establish the SSH connection?
        >
        > Best regards and thanks for help with my issue!
        >
        >
        > Emir Bosques
        > Life Supporting Technologies
        > Departamento deTecnología Fotónica y Bioingeniería
        > E.T.S.I. Telecomunicacion. B303.1
        > Universidad Politecnica de Madrid
        > Avenida Complutense nº 30, Ciudad Universitaria
        > 28040 Madrid
        > ebosques@lst.tfo.upm.es <gloria@lst.tfo.upm.es>
        > Tel: (+34) 91 549 57 00 – ext. 8015
        > Fax: (+34) 91 336 73 19
        >
        >
        >
        >
        >
        >

        Show
        fw.ext.user FW External User added a comment - Comment by joseignacio.carretero@fiware.org : Hi, You need a private key in order to connect to your VMs. You have 2 options: 1. Create the Keypair (private + public key) in your own host and UPLOAD the public key to fiware Cloud Portal. 2. Create a Keypair in FIWare Cloud Portal, and DOWNLOAD the private key — We NEVER EVER keep your Private Key. If you loose it, then nothing can be done in order to get it back again. It is your responsibility to keep that file safe. Thus, we can't provide you any link to your Private Key. However, if you choose Option 2 In cloud Portal (Security --> Keypairs --> Create Keypair), After creating a new keypair, you can see a "Download Keypair" link where you can click in order to download the Private Key. That is the file you should have had downloaded and which must have a name "KeyNolb.pem" in your case. But It seems you are trying to use a file you don't have, so It can't be found. Please, create a new Keypair, download the Private Key and do as you are doing with "KeyNolb.pem". Best regards, José Ignacio El 25/01/17 a las 10:42, ebosques escribió: > Hi. > > I followed the tutorial to connect trough SSH to the VM but I got this > error: > > Permission denied (publickey). > Emirs-MacBook-Pro:~ ebosques$ chmod 400 KeyNolb.pem > chmod: KeyNolb.pem: No such file or directory > Emirs-MacBook-Pro:~ ebosques$ ssh -i KeyNolb.pem > ubuntu@130.206.122.238 < ubuntu@130.206.122.238 > > Warning: Identity file KeyNolb.pem not accessible: No such file or > directory. > ################################################################################## > NOTE: You have accessed a system owned by FIWARE Lab. You must have > authorisation > before using it, and your use will be strictly limited to that > indicated in the > authorisation. > Unauthorised access to this system or improper use of the same is > prohibited and > is against the FIWARE Terms & Conditions Policy and the legislation in > force. The > use of this system may be monitored. > ################################################################################# > > > In the tutorial the man show an option to download the KEYPAIR. But > When I created my KEYPAIR the FIWARE page does not show me any link to > download the KEYPAIR file. So when I going to give the permission, > suggested by the “Connection’s Tab” in the INSTANCES’ menu: > > 1. Open the Terminal > 2. Locate the keypair asocciate to this Instance when launching it. > > /my_keypair.pem/ > > 3. Modify the keypair permissions in order to make it not publicly > viewable. > > /chmod 400 my_keypair.pem/ > > 4. Connect to the Instance using its public IP and the appropiate > username depending on the VM SO (ubuntu, centos, ...). > > /ssh -i my_keypair.pem user_name@130.206.122.238 > < user_name@130.206.122.238 >/ > > > I do not know where is located the .pem file, in my case will be > KeyNolb.pem , because I have not downloaded, because I do not see > any link in the security menu to let me do this action. > > So the question is: how could I download the file? or there is any > other method to give the permission to the KEYPAIR file to > establish the SSH connection? > > Best regards and thanks for help with my issue! > > > Emir Bosques > Life Supporting Technologies > Departamento deTecnología Fotónica y Bioingeniería > E.T.S.I. Telecomunicacion. B303.1 > Universidad Politecnica de Madrid > Avenida Complutense nº 30, Ciudad Universitaria > 28040 Madrid > ebosques@lst.tfo.upm.es < gloria@lst.tfo.upm.es > > Tel: (+34) 91 549 57 00 – ext. 8015 > Fax: (+34) 91 336 73 19 > > > > > >
        Hide
        jicg José Ignacio Carretero Guarde added a comment -

        Anyway, May I ask you the link of the tutorial you've followed? — You don't have any instance created yet, you don't have any Floating IPs created yet... It seems like you've just tried to follow just the very last step of the proccess.

        Show
        jicg José Ignacio Carretero Guarde added a comment - Anyway, May I ask you the link of the tutorial you've followed? — You don't have any instance created yet, you don't have any Floating IPs created yet... It seems like you've just tried to follow just the very last step of the proccess.
        Hide
        fw.ext.user FW External User added a comment -

        Comment by ebosques@lst.tfo.upm.es :

        Thanks!

        I have already seen the link to download the PEM file.

        In relation with your comment:

        “ Anyway, May I ask you the link of the tutorial you've followed? — You don't have any instance created yet, you don't have any Floating IPs created yet... It seems like you've just tried to follow just the very last step of the proccess. “

        I’ve just followed the next tutorials:

        This video tutorial is in the section Help&info

        FIWARE Cloud Blueprint templates:
        https://youtu.be/MdZS_0jt6Vo <https://youtu.be/MdZS_0jt6Vo>

        The second tutorial is from your YouTube’s channel :

        FIWARE Cloud Instances:
        https://www.youtube.com/watch?v=mb7CdMnZh7Q <https://www.youtube.com/watch?v=mb7CdMnZh7Q>

        I’ve created the group, the key, the instance and the floating IP, following the tutorials that I comment you above.

        Today I’m going to test the connection to the VM, so maybe I’ll be writing you for help.

        Thanks!

        Best,
        Emir.

        > On 25 Jan 2017, at 12:18, José Ignacio Carretero <joseignacio.carretero@fiware.org> wrote:
        >
        > Hi,
        >
        > You need a private key in order to connect to your VMs. You have 2 options:
        >
        > 1. Create the Keypair (private + public key) in your own host and UPLOAD the public key to fiware Cloud Portal.
        > 2. Create a Keypair in FIWare Cloud Portal, and DOWNLOAD the private key
        > — We NEVER EVER keep your Private Key. If you loose it, then nothing can be done in order to get it back again. It is your responsibility to keep that file safe. Thus, we can't provide you any link to your Private Key.
        >
        > However, if you choose Option 2 In cloud Portal (Security --> Keypairs --> Create Keypair), After creating a new keypair, you can see a "Download Keypair" link where you can click in order to download the Private Key. That is the file you should have had downloaded and which must have a name "KeyNolb.pem" in your case. But It seems you are trying to use a file you don't have, so It can't be found.
        >
        > Please, create a new Keypair, download the Private Key and do as you are doing with "KeyNolb.pem".
        >
        > Best regards,
        > José Ignacio
        > El 25/01/17 a las 10:42, ebosques escribió:
        >> Hi.
        >>
        >> I followed the tutorial to connect trough SSH to the VM but I got this error:
        >>
        >> Permission denied (publickey).
        >> Emirs-MacBook-Pro:~ ebosques$ chmod 400 KeyNolb.pem
        >> chmod: KeyNolb.pem: No such file or directory
        >> Emirs-MacBook-Pro:~ ebosques$ ssh -i KeyNolb.pem <ubuntu@130.206.122.238>ubuntu@130.206.122.238 <ubuntu@130.206.122.238>
        >> Warning: Identity file KeyNolb.pem not accessible: No such file or directory.
        >> ##################################################################################
        >> NOTE: You have accessed a system owned by FIWARE Lab. You must have authorisation
        >> before using it, and your use will be strictly limited to that indicated in the
        >> authorisation.
        >> Unauthorised access to this system or improper use of the same is prohibited and
        >> is against the FIWARE Terms & Conditions Policy and the legislation in force. The
        >> use of this system may be monitored.
        >> #################################################################################
        >>
        >>
        >> In the tutorial the man show an option to download the KEYPAIR. But When I created my KEYPAIR the FIWARE page does not show me any link to download the KEYPAIR file. So when I going to give the permission, suggested by the “Connection’s Tab” in the INSTANCES’ menu:
        >>
        >> Open the Terminal
        >> Locate the keypair asocciate to this Instance when launching it.
        >> my_keypair.pem
        >>
        >> Modify the keypair permissions in order to make it not publicly viewable.
        >> chmod 400 my_keypair.pem
        >>
        >> Connect to the Instance using its public IP and the appropiate username depending on the VM SO (ubuntu, centos, ...).
        >> ssh -i my_keypair.pem user_name@130.206.122.238 <user_name@130.206.122.238>
        >>
        >> I do not know where is located the .pem file, in my case will be KeyNolb.pem, because I have not downloaded, because I do not see any link in the security menu to let me do this action.
        >>
        >> So the question is: how could I download the file? or there is any other method to give the permission to the KEYPAIR file to establish the SSH connection?
        >>
        >> Best regards and thanks for help with my issue!
        >>
        >>
        >> Emir Bosques
        >> Life Supporting Technologies
        >> Departamento deTecnología Fotónica y Bioingeniería
        >> E.T.S.I. Telecomunicacion. B303.1
        >> Universidad Politecnica de Madrid
        >> Avenida Complutense nº 30, Ciudad Universitaria
        >> 28040 Madrid
        >> <gloria@lst.tfo.upm.es>ebosques@lst.tfo.upm.es <ebosques@lst.tfo.upm.es>
        >> Tel: (+34) 91 549 57 00 – ext. 8015
        >> Fax: (+34) 91 336 73 19
        >>
        >>
        >> <Mail Attachment.jpeg>
        >>
        >>
        >>
        >>

        Show
        fw.ext.user FW External User added a comment - Comment by ebosques@lst.tfo.upm.es : Thanks! I have already seen the link to download the PEM file. In relation with your comment: “ Anyway, May I ask you the link of the tutorial you've followed? — You don't have any instance created yet, you don't have any Floating IPs created yet... It seems like you've just tried to follow just the very last step of the proccess. “ I’ve just followed the next tutorials: This video tutorial is in the section Help&info FIWARE Cloud Blueprint templates: https://youtu.be/MdZS_0jt6Vo < https://youtu.be/MdZS_0jt6Vo > The second tutorial is from your YouTube’s channel : FIWARE Cloud Instances: https://www.youtube.com/watch?v=mb7CdMnZh7Q < https://www.youtube.com/watch?v=mb7CdMnZh7Q > I’ve created the group, the key, the instance and the floating IP, following the tutorials that I comment you above. Today I’m going to test the connection to the VM, so maybe I’ll be writing you for help. Thanks! Best, Emir. > On 25 Jan 2017, at 12:18, José Ignacio Carretero <joseignacio.carretero@fiware.org> wrote: > > Hi, > > You need a private key in order to connect to your VMs. You have 2 options: > > 1. Create the Keypair (private + public key) in your own host and UPLOAD the public key to fiware Cloud Portal. > 2. Create a Keypair in FIWare Cloud Portal, and DOWNLOAD the private key > — We NEVER EVER keep your Private Key. If you loose it, then nothing can be done in order to get it back again. It is your responsibility to keep that file safe. Thus, we can't provide you any link to your Private Key. > > However, if you choose Option 2 In cloud Portal (Security --> Keypairs --> Create Keypair), After creating a new keypair, you can see a "Download Keypair" link where you can click in order to download the Private Key. That is the file you should have had downloaded and which must have a name "KeyNolb.pem" in your case. But It seems you are trying to use a file you don't have, so It can't be found. > > Please, create a new Keypair, download the Private Key and do as you are doing with "KeyNolb.pem". > > Best regards, > José Ignacio > El 25/01/17 a las 10:42, ebosques escribió: >> Hi. >> >> I followed the tutorial to connect trough SSH to the VM but I got this error: >> >> Permission denied (publickey). >> Emirs-MacBook-Pro:~ ebosques$ chmod 400 KeyNolb.pem >> chmod: KeyNolb.pem: No such file or directory >> Emirs-MacBook-Pro:~ ebosques$ ssh -i KeyNolb.pem < ubuntu@130.206.122.238 >ubuntu@130.206.122.238 < ubuntu@130.206.122.238 > >> Warning: Identity file KeyNolb.pem not accessible: No such file or directory. >> ################################################################################## >> NOTE: You have accessed a system owned by FIWARE Lab. You must have authorisation >> before using it, and your use will be strictly limited to that indicated in the >> authorisation. >> Unauthorised access to this system or improper use of the same is prohibited and >> is against the FIWARE Terms & Conditions Policy and the legislation in force. The >> use of this system may be monitored. >> ################################################################################# >> >> >> In the tutorial the man show an option to download the KEYPAIR. But When I created my KEYPAIR the FIWARE page does not show me any link to download the KEYPAIR file. So when I going to give the permission, suggested by the “Connection’s Tab” in the INSTANCES’ menu: >> >> Open the Terminal >> Locate the keypair asocciate to this Instance when launching it. >> my_keypair.pem >> >> Modify the keypair permissions in order to make it not publicly viewable. >> chmod 400 my_keypair.pem >> >> Connect to the Instance using its public IP and the appropiate username depending on the VM SO (ubuntu, centos, ...). >> ssh -i my_keypair.pem user_name@130.206.122.238 < user_name@130.206.122.238 > >> >> I do not know where is located the .pem file, in my case will be KeyNolb.pem, because I have not downloaded, because I do not see any link in the security menu to let me do this action. >> >> So the question is: how could I download the file? or there is any other method to give the permission to the KEYPAIR file to establish the SSH connection? >> >> Best regards and thanks for help with my issue! >> >> >> Emir Bosques >> Life Supporting Technologies >> Departamento deTecnología Fotónica y Bioingeniería >> E.T.S.I. Telecomunicacion. B303.1 >> Universidad Politecnica de Madrid >> Avenida Complutense nº 30, Ciudad Universitaria >> 28040 Madrid >> < gloria@lst.tfo.upm.es >ebosques@lst.tfo.upm.es < ebosques@lst.tfo.upm.es > >> Tel: (+34) 91 549 57 00 – ext. 8015 >> Fax: (+34) 91 336 73 19 >> >> >> <Mail Attachment.jpeg> >> >> >> >>

          People

          • Assignee:
            jicg José Ignacio Carretero Guarde
            Reporter:
            fw.ext.user FW External User
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: