[Fiware-lab-help] Keypair issue

José Ignacio Carretero joseignacio.carretero at fiware.org
Wed Jan 25 12:18:42 CET 2017


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 at 130.206.122.238 <mailto:ubuntu at 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 at 130.206.122.238
>     <mailto:user_name at 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 at lst.tfo.upm.es <mailto:gloria at 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:
> - http://forge.fiware.org/plugins/mediawiki/wiki/fiware/index.php/FIWARE_Privacy_Policy
> - http://forge.fiware.org/plugins/mediawiki/wiki/fiware/index.php/Cookies_Policy_FIWARE
>
> Fiware-lab-help mailing list
> Fiware-lab-help at lists.fiware.org
> https://lists.fiware.org/listinfo/fiware-lab-help
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.fiware.org/private/fiware-lab-help/attachments/20170125/364bdfe5/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 2487 bytes
Desc: not available
URL: <https://lists.fiware.org/private/fiware-lab-help/attachments/20170125/364bdfe5/attachment-0001.jpe>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: DownloadKeypair.png
Type: image/png
Size: 36271 bytes
Desc: not available
URL: <https://lists.fiware.org/private/fiware-lab-help/attachments/20170125/364bdfe5/attachment-0001.png>


More information about the Fiware-lab-help mailing list

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