Linux 之 SSH 理解

SSH 理解

一、服务端sshd_conf配置文件理解
Port 22                                                 #ssh 连接默认端口
PermitRootLogin yes                           #是否允许root用户登陆
PermitEmptyPasswords no                 #禁止空密码登陆
UserDNS no                                         #不使用DNS反解释
GSSAPIAuthentication no                    #禁用可加快初始连接的等待时间
#配置文件所在位置/etc/ssh/sshd_config

猜你喜欢

转载自blog.51cto.com/12965094/2122566
今日推荐