ubunto下配置ssh允许用户root密码登录
Ubuntu都会默认安装openssh-client,但是没有安装openssh-server
sudo apt install openssh-server
sudo apt install openssh-client
apt-get install ssh
sudo /etc/init.d/ssh start
sudo vim /etc/ssh/sshd_config,找到PermitRootLogin without-password 修改为PermitRootLogin yes
service ssh restart
参考链接:https://blog.csdn.net/future_ai/article/details/81701744
参考链接:https://www.cnblogs.com/TechSnail/p/7695090.html
ubunto下配置ssh允许用户root密码登录
最新推荐文章于 2024-07-20 15:38:32 发布