View previous topic :: View next topic |
Author |
Message |
paluszak Apprentice
Joined: 28 Jun 2004 Posts: 265 Location: Warsaw, Poland
|
Posted: Sun Aug 24, 2008 10:06 pm Post subject: excluding user from ssh login |
|
|
Hi,
I've got a desktop with a 'guest' user account and I'd like to make it impossible for 'guest' to log in remotely via ssh. All other users should be able to do a remote login normally. Is there a way to do that?
J. |
|
Back to top |
|
|
SiberianSniper Guru
Joined: 06 Apr 2006 Posts: 378 Location: Dayton, OH, USA
|
Posted: Sun Aug 24, 2008 10:39 pm Post subject: |
|
|
Code: | echo "DenyUsers guest" >> /etc/ssh/sshd_config |
|
|
Back to top |
|
|
paluszak Apprentice
Joined: 28 Jun 2004 Posts: 265 Location: Warsaw, Poland
|
Posted: Sun Aug 24, 2008 10:40 pm Post subject: |
|
|
SiberianSniper wrote: | Code: | echo "DenyUsers guest" >> /etc/ssh/sshd_config |
|
Thx, that was easy.
J. |
|
Back to top |
|
|
|