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

From: Andreas Hoeschler <ahoesch_at_smartsoft.de>
Date: Fri Jun 14 2002 - 10:53:38 EDT
Hi,

thanks to all the responded, especially to Fabrice Guerini 
<fabrice@bluemartini.fr> and <sysadmin@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?
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
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