NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: amazon ec2 instance access



On 23 Oct 2012 at 21:55, kalin wrote:

> 
> 
> hi...
> 
> i'm a bit confused. finally accessed an aim instance of netbsd 6 on the 
> amazon ws platform. usually when a new machine is installed i check the 
> ssd_config first. so to my surprise i noticed this setting for root:
> 
> PermitRootLogin without-password
> 
> according to the man for ssd_config:
> 
> "If this option is set to ``without-password'', password authentication 
> is disabled for root."

Hi

I've never tried to setup ssh to allow root access and have 
always used ssh to an admin account and then 'su' from that.

 
> yet still when trying to ssh in as root i can not get access. why is that?
> 
> i did try changing it to:
> 
> PermitRootLogin no

What about trying "PermitRootLogin yes"


David 


> but then the awesome thing amazon has - some java virtual console - to 
> access the instance via a pem key is not working anymore... which i 
> guess it makes sense. but how is that with a without-password setting in 
> sshd_config i can't get in?!
> 
> 
> thanks....




Home | Main Index | Thread Index | Old Index