Hi.
It really depends on what you are trying to do. If you are trying to
restrict which individual users can login via ssh, you could use the
AllowUsers or AllowGroups in /etc/ssh/sshd_config.
If you want to limit which hosts can connect to your server, you could
use a firewall (iptables) or tcp wrappers (/etc/hosts.allow,
/etc/hosts.deny). Of the two, iptables is more secure.
Alfred Hovdestad, RHCE
University of Saskatchewan
Santosh Kumar wrote:
Hi everybody
I am trying to restrict any user for ssh my server.
But i am not able ,
Please help me.
Thanks,
--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list