使用secure CRT或者xshell 4等软件能够在windows主机中使用root用户登入的方法:
1、首先安装openssh-server
sudo apt-get install openssh-server
2、编辑ssh配置文件
vim /etc/ssh/sshd_config
然后
aston added
#Authentication:
LoginGraceTime 120
#PermitRootLogin without-password
PermitRootLogin yes
StrictModes yes
3、重启ssh服务器
sudo systemctl restart ssh
然后就可以使用root用户登入了