#vim etc/ssh/sshd_config
打开后修改以下内容
PermitRootLogin ->yes
PubkeyAuthentication ->yes
配置sshd开机启动
#update-rc.d ssh enable
配置sshd服务以便xshell连接
最新推荐文章于 2022-01-02 13:28:16 发布
#vim etc/ssh/sshd_config
打开后修改以下内容
PermitRootLogin ->yes
PubkeyAuthentication ->yes
配置sshd开机启动
#update-rc.d ssh enable