简体   繁体   English

无法SSH到在Eucalyptus中创建的实例

[英]Cannot ssh into instance created in eucalyptus

I installed the eucalyptus faststart3.4.2 iso from here http://downloads.eucalyptus.com/software/faststart/ and then I installed cloud in a box. 我从此处http://downloads.eucalyptus.com/software/faststart/安装了桉树faststart3.4.2 iso,然后将云安装到了一个盒子中。 Then creating an instance m1.small I am trying to ssh into the instance created by its IP. 然后创建一个实例m1.small,我尝试将其ssh放入其IP创建的实例中。 The VM is running and I can ping it, when ssh -i euca-demo.private 10.5.20.224 is run most probably it enters VM but asks for passphrase which I dont know because the image was given after installation that I used to create the instance. VM正在运行,并且可以ping通它,当ssh -i euca-demo.private 10.5.20.224运行时,它很可能进入了VM,但要求输入密码,因为该图像是在安装后创建的,所以我不知道该密码。实例。 The message is 消息是

Enter passphrase for key 'euca-demo.private': 输入密钥'euca-demo.private'的密码:

How can I enter without knowing the passphase? 在不知道阶段的情况下如何进入? How to know the passphase? 如何知道阶段?

Can you try to login as ec2-user? 您可以尝试以ec2-user身份登录吗?

$ ssh -i euca-demo.private ec2-user@10.5.20.224 $ ssh -i euca-demo.private ec2-user@10.5.20.224

As you have said in your comment, it seems that the public key of euca-demo.private is associated with the cloud-user user in the VM. 正如您在评论中所说,euca-demo.private的公钥似乎与VM中的云用户用户相关联。 So you can SSH via this user only. 因此,您只能通过此用户进行SSH。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM