For further filtering in ssh to allow only selected users, I modified /etc/ssh/sshd_config file to add following line:
AllowUsers unixgeek paul john
One more thing, while doing this, make sure to restart ssh by doing following:
For Solaris 10 OS:
# svcadm refresh svc:/network/ssh
For Redhat Linux
# service sshd restart
With this in place, only unixgeek, paul and john will be able to ssh to this server.
Voila! Mission accomplished! :-)
No comments:
Post a Comment