当前位置:Linux教程 - 网络配置 - 网络配置 - 服务器端如何设置ssh,指定IP访问

网络配置 - 服务器端如何设置ssh,指定IP访问

服务器端如何设置ssh,指定IP访问
2004-04-23 15:18 pm
来自:Linux文档
现载:Www.8s8s.coM
地址:无名

我想在linux服务器端设置,让唯一的IP使用ssh登陆,请问该如何设置呀?

如果你是用的系统自带的openssh的话,多少有点困难。 方法如下:
hosts.deny
ALL:ALL@ALL,PARANOID
hosts.allow
sshd,sshd:IP(唯一IP)
如果你用的是ssh的话,就很简单了,在/etc/ssh2/下修改sshd2_config就可以了!
好运!