关于VM实例登陆需要PASSWORD的问题

6 replies [ Last post ]
ruban (Offline)
Root password
Posted: Fri, 04/16/2010 - 02:36

Hi,

I have tried to create a VM instance using eucalyptus certified images.Instances are running successfully and when i try to ssh to the ip address it asks a password for the root user.

Is there any default password for the images?

i tried eucalyptus certified images of ubuntu,cent os and debian but the problem persistents.

thanks in advance

ruban (Offline)
I deleted all the keypairs
Posted: Fri, 04/16/2010 - 23:54

I deleted all the keypairs and created new one and ran the instance with the new keypair generated and when i tried to ssh into the VM instance i am getting the following things..

[root@localhost Desktop]# ssh -i newkey.private root@10.5.10.103
The authenticity of host '10.5.10.103 (10.5.10.103)' can't be established.
RSA key fingerprint is 93:63:81:57:ee:ca:9a:12:17:b2:36:2e:1e:57:5b:93.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '10.5.10.103' (RSA) to the list of known hosts.
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: UNPROTECTED PRIVATE KEY FILE! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Permissions 0644 for 'newkey.private' are too open.
It is recommended that your private key files are NOT accessible by others.
This private key will be ignored.
bad permissions: ignore key: newkey.private
Enter passphrase for key 'newkey.private':

do anybody know what could be the pass phrase?
how to change the permissions to the file that contains the key?

ruban (Offline)
Hi I changed the file's
Posted: Sat, 04/17/2010 - 06:58

Hi

I changed the file's access permissions manually no everything works fine.
Just gave the root user Read and write access and for others set it to None.

thanks

srinu82 (Offline)
root login to vm instances
Posted: Mon, 04/19/2010 - 07:27

Hi Ruban,

Can you please more detail on this, I am facing the same issue.
Which file permission did you change.

Thanks in advance.
srinu

ruban (Offline)
First delete all the
Posted: Mon, 04/19/2010 - 07:58

First delete all the available keypairs, and then add a new keypair run the instance with this newly created key and try to ssh with this key.
Just right click the file and change its permissions

k.karmakar.ju.smcc (Offline)
Solve : to this problem.
Posted: Fri, 04/30/2010 - 02:40

This happens as permission to the key is too open.
So use

chroot 700 keyname.

Thanks & regards
kamalesh.

shivanand.banahatti (Offline)
Solution to Ruban
Posted: Fri, 04/30/2010 - 07:02

Dear Ruban,
you didnt mention clearly about how and where you have created the key pair. The problem is absolutely because of key-pairs, even i had got that problem. I hope the following instructions will help to solve your problem.
Lets take a scenario:
I have node: node1, source the eucarc and then create a key pair on that node (euca-create-keypair mykey > mykey.key), run the instance from the node with the new key mykey, connect to the instance with ssh -i mykey,key ip-address-of-the-instance.

I hope this works :)

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值