this is a extra element for clear the floated element
服务器端如何设置ssh,指定IP访问
  • 12/31
  • 2008
网络配置 | Linux 6101 次查看
  我想在linux服务器端设置,让唯一的IP使用ssh登陆,请问该如何设置呀?

  如果你是用的系统自带的openssh的话,多少有点困难。 方法如下:

  hosts.deny

  ALL:ALL@ALL,PARANOID

  hosts.allow

  sshd,sshd:IP(唯一IP)

  如果你用的是ssh的话,就很简单了,在/etc/ssh2/下修改sshd2_config就可以了!

  好运