赞
踩
如需转载请标明出处:http://blog.csdn.net/itas109
技术交流:129518033
sshd服务的配置文件位置/etc/ssh/sshd_config
#Port 22
修改为(以12322端口为例)
Port 12322
#ListenAddress 0.0.0.0
修改为(以192.168.1.101为例)
ListenAddress 192.168.1.101
默认为
PermitRootLogin yes
#MaxAuthTries 6
修改为
MaxAuthTries 3
#PermitEmptyPasswords no
修改为
PermitEmptyPasswords yes
PasswordAuthentication no
#PubkeyAuthentication yes
#ClientAliveInterval 0
#ClientAliveCountMax 3
修改为(以600秒为例)
ClientAliveInterval 900
ClientAliveCountMax 0
License
License under CC BY-NC-ND 4.0: 署名-非商业使用-禁止演绎
如需转载请标明出处:http://blog.csdn.net/itas109
技术交流:129518033
Reference:
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。