Re: how to restrict any user for ssh

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux