Ask Your Question

Learning vm - logging in through SSH

asked 2016-07-15 11:29:48 -0600

denno gravatar image

updated 2016-07-15 13:34:13 -0600


In my company I don't really have any option to host a VM. So I converted the VM to an AWS EC2 AMI, see here:

It works, it is running when I try to reach it through https, I can access the Puppet web console.

But I can't access it through SSH. It does accept the login, but I don't know the password. Also, the private key attached to it by AWS is not accepted. My guess is that AWS is actually not able to add that key in the VM...

Documentation by Puppet mentions that a password is generated when launching and shown in some splash screen. Obviously, AWS doesn't show me any splash screen, so I'm stuck!

Does it use a default password? if so, what is it? Is the VM packaged with a key pair that I can get somewhere?

Any other ideas?


edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2016-07-17 09:15:46 -0600

nobody gravatar image

updated 2016-07-17 09:17:26 -0600

I dunno how it work's in AWS, but you must connect to your VM via "remote desktop", or "VNC", or "virtual console", something like this... and there you will find your login/pass and instructions. For example my puppet VM in Oracle VirtualBox.

image description

edit flag offensive delete link more

answered 2016-07-18 15:37:36 -0600

denno gravatar image

updated 2016-07-18 15:38:46 -0600

Ok, found it. AWS provides an option to read/view the instance console, without logging in.

Once the instance started, just right-click it, or use action button and select "Instance Settings" > "Get system log" and voila there it is.

Just remember to use the ip AWS tells you, the public one, not the one the VM tells you :)

image description image description

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2016-07-15 11:29:48 -0600

Seen: 180 times

Last updated: Jul 18 '16