Accesing to a VM on Fi-lab

我的梦境 提交于 2019-11-29 12:07:28

Usually, when you create a VM of Bluerpint, you should assign a keypair, that should be created previously. I suppose that you did it. Correct me if I am wrong. During the creation of the keypair, you could download en .pem file that it is used to access to the VM using ssh (ssh -i xxx.pem…).

I know this question was already answered but I tried these solution and only had success with additional detail after Creating, Downloading and chmod-ing the keypair file:
using
[user@]hostname] ssh parameter as root@Fi-lab-FloatingIPAddress ,
under root shell or
using sudo command to execute ssh -i kp.pem Fi-lab-FloatingIPAddress
Try to access without root username will results in ssh asks to password even including the keypair associated with that virtual machine.
In other words, the keypair to access fi-lab blueprint or instances only works with root username.

I am just getting familiar with #Fiware Lab. prerequisites :

  • Having in the private key you generated in the fiware cloud interface in the file fiware_rsa (text file beginning with -----BEGIN RSA PRIVATE KEY-----)
  • Associate your server with an external IP (internet) (note you can access other instances via the one which has inet access)

ssh -i fiware.rsa user@external-ip-address

try with root user, you should see a message advising the proper user name to use depending on the instance :

ubuntu@front:~$ ssh -i .ssh/fiware_rsa root@XXX.XXX.XXX.XXX

Please login as the user "centos" rather than the user "root".

You can find more information here : http://fr.slideshare.net/hmunfru/setting-up-your-virtual-infrastructure-using-fi-lab-cloud

BR

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!