[svlug] SSH and root logins?

Webb Sprague wsprague100 at yahoo.com
Thu Aug 15 13:14:55 PDT 2002


You should have said RTFM, but since you didn't:
Thanks!!

W
--- Breen Mullins <bpm at idiom.com> wrote:
> On Thu, 2002-08-15 at 12:51, Webb Sprague wrote:
> > Hi All,
> > 
> > Does anyone know how to set up sshd so that it
> will
> > not accept a login as root, forcing folks (me
> only, I
> > hope) to su?
> 
> >From man sshd:
> 
> PermitRootLogin
> Specifies whether root can login using ssh(1).  The
> argument must
> be ``yes'', ``without-password'',
> ``forced-commands-only'' or
> ``no''.  The default is ``yes''.
> 
> If this option is set to ``without-password''
> password authenti­
> cation is disabled for root.
> 
> If this option is set to ``forced-commands-only''
> root login with
> public key authentication will be allowed, but only
> if the
> command option has been specified (which may be
> useful for taking
> remote backups even if root login is normally not
> allowed). All
> other authentication methods are disabled for root.
> 
> If this option is set to ``no'' root is not allowed
> to login.
> 
> 
> HTH --
> 
> Breen
> 
> 
> 
> 
> 
> 
> _______________________________________________
> svlug mailing list
> svlug at lists.svlug.org
> http://lists.svlug.org/lists/listinfo/svlug


__________________________________________________
Do You Yahoo!?
HotJobs - Search Thousands of New Jobs
http://www.hotjobs.com



More information about the svlug mailing list