Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Jan 2010 22:59:32 -0500
From:      Glen Barber <glen.j.barber@gmail.com>
To:        "Aryeh M. Friedman" <aryeh.friedman@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: ssh to root
Message-ID:  <20100121035932.GA12539@orion.hsd1.pa.comcast.net>
In-Reply-To: <4B57CEB5.2050001@gmail.com>
References:  <4B57CE44.9060404@gmail.com> <4B57CEB5.2050001@gmail.com>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
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@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



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?20100121035932.GA12539>