ssh to root

Glen Barber glen.j.barber at gmail.com
Thu Jan 21 04:02:54 UTC 2010


Hi,

Aryeh M. Friedman wrote: 
> I need to set up a machine so that I can type "ssh [host]" as root from 
> some other host and I get a prompt with super user privs... I already 
> have set this up for user at host for root and ssh host for normal users... 
> but root still asks for a password after I set the authorized_keys file 
> in ~root/.ssh.. I have looked at ssh_config(5) but can't tell what 
> option (if any) does this

PermitRootLogin is set to 'no' by default in /etc/ssh/sshd_config.  It
isn't advisable disabling this extra layer of security.

Regards,

-- 
Glen Barber


More information about the freebsd-questions mailing list