FreeBSD开启SSH远程登录服务

ee /etc/inetd.conf
将#ssh的注释符号去掉

修改配置文件
ee /etc/ssh/sshd_config

启用root密码登录
PermitRootLogin yes
PasswordAuthentication yes

防止长时间无操作自动断开
TCPKeepAlive yes
ClientAliveInterval 3
ClientAliveCountMax 99

posted @ 2017-08-16 09:04  杜甫TAT很忙  阅读(858)  评论(0)    收藏  举报