RE: SSHD Config Question
"Welsh, Armand" <[email protected]> Thu, 22 Feb 2007 08:40:11 -0800
| Newsgroups | gmane.network.ssh.windows |
|---|---|
| Message-ID | <C7B03C10C56D47489827F40DF4A2BDBD8AF6A4@ine000p2.imswest.sscims.com> |
Not that I am aware of, but instead of allowing root to login directly with key exchange, why don't you setup a normal user and grant this user sudo rights? It is always better to perform all administrative tasks through sudo, so that the administrative actions can be logged, and so that the root permissions are only granted in short increments of time... Only while the specific admin task is performed. I do know that the commecrial SSH product does have user control that might allow the type of granularity in login controls that you are looking for. A side note: if you use a regular user account, you can setup the user account as a locked account, then no password authentication would allow the user to login, yet the key exchange would work due to the way in which openssh works in authenticating users.... Regards, ___________________________ Armand Welsh AVP, Information Security State Street IMS -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of am.lists Sent: Thursday, February 22, 2007 8:28 AM To: [email protected] Subject: SSHD Config Question I've been looking through my sshd config file and what I want to do is like so: root: login directly with key exchange all other valid users: login with password or key exchange. Is this possible? Thanks, Angelo -- List Info: http://erdelynet.com/ssh-l/ List Archives: http://erdelynet.com/archive/ssh-l/ To Unsubscribe: Mail mailto:[email protected] -- List Info: http://erdelynet.com/ssh-l/ List Archives: http://erdelynet.com/archive/ssh-l/ To Unsubscribe: Mail mailto:[email protected]