Summary: How do I only allow root to ssh to a machine?
2007-12-24 22:58:00
thanks to all the responded, especially to Fabrice Guerini
<fabrice at bluemartini.fr> and <sysadmin at astro.su.se> 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.
Regards,
Andreas
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?
Comments
Got something to say?
You must be logged in to post a comment.

