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

Re: ssh and root logins



On Tue, Aug 10, 2004 at 09:38:16AM -0400, Dale E Martin wrote:
> > Would it work to disable all ssh password logins and only allow logins with 
> > the proper private key?  
> 
> I'm not sure, I'd have to check with my Windows users who do CVS checkouts
> via ssh and see if their clients would support that.  I suppose it might
> work.  I'd still like to see a way to specify on a per-account basis or at
> least see root as a special case.

Well, hows about the following (straight from man sshd_config)...

PermitRootLogin without-password

Which basically means "allow root to login, but with key exchange only".

Funky, innit.

Cheers,
Brett Parker.



Reply to: