Summary: How do I only allow root to ssh to a machine?

From: Andreas Hoeschler <>
Date: Fri Jun 14 2002 - 10:53:38 EDT

thanks to all the responded, especially to Fabrice Guerini 
<> and <> who both suggested 
to put the following entries in /usr/local/etc/sshd_config

AllowUsers root
PermitRootLogin yes

and then do "kill -HUP <pid of sshd>". This did the trick.



Original message:

I have to remotely administer a machine that is connected to the
internet. I configured the firewall to only let in ssh. I can login to
this machine from my office and do my stuff. However, I would like to
prevent other users with normal user accounts to login remotely (they of
course do not know the root password). Is this possible?
sunmanagers mailing list
Received on Fri Jun 14 11:02:44 2002

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:42:46 EST