sshd 服务配置

几个/etc/sshd_config选项

•Port 22 #sshd监听的端口号
•ListenAddress 0.0.0.0 #sshd监听的ip
•PermitRootLogin yes #是否允许root使用ssh登陆
•IgnoreRhosts no #是否忽略用户个人的.rhosts
•AllowHosts *.zixia.net #允许登陆的主机
•DenyHosts aka.org.cn #不允许登陆的主机

你可能感兴趣的:(ssh)