Details
-
Type: extRequest
-
Status: Closed
-
Priority: Major
-
Resolution: Done
-
Fix Version/s: 2021
-
Component/s: FIWARE-LAB-HELP
-
Labels:None
-
Sender Email:
-
External Participants:
-
HD-Node:Spain
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:
- 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@lists.fiware.org
https://lists.fiware.org/listinfo/fiware-lab-help
[Created via e-mail received from: ebosques <ebosques@lst.tfo.upm.es>]
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
>
>
>
>
>
>