Ubuntu开启SSH远程登录
1、安装Open-sshserver
apt install openssh-server -y
2、编辑sshd_config
1 vim /etc/ssh/sshd_config 2 修改为下面设置: 3 PermitRootLogin:yes #允许root登录 4 PasswordAuthentication :yes #允许密码验证登录
3、设置sshserver为开机自启动
systemctl enable ssh
本文来自博客园,作者:Fēngwèi,转载请注明原文链接:https://www.cnblogs.com/fengwei-blogs/p/18820696

浙公网安备 33010602011771号