how to login without identity file within VM

asked 2015-04-13 03:21:49 -0500

To login to a VM we have to use

ssh -i MyKey.pem ubuntu@10.0.0.2

Now i have two VM between same subnet,

ubuntu-01 : 10.0.0.2

ubuntu-02 : 10.0.0.3

i have logged in 10.0.0.2 using ssh -i MyKey.pem ubuntu@10.0.0.2

To logged in from 10.0.0.2 to 10.0.0.3 i dont want to use identity file, how to do this

edit retag flag offensive close merge delete

Comments

You mean while you're on 10.0.0.2 you want to access 10.0.0.3 ?

lnxslck gravatar imagelnxslck ( 2015-04-13 08:13:54 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2015-04-13 07:10:16 -0500

If the glance image has some predefined users, you could log in with those user/password credentials. Otherwise there is no way to access it without the key (at least AFAIK).

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

2 followers

Stats

Asked: 2015-04-13 03:21:49 -0500

Seen: 57 times

Last updated: Apr 13 '15