普通用户连接
sudo spt-get install openssh-server
sudo service ssh start/restart
Root用户连接
su root
cd /etc/ssh
vim ssdh_config(修改:PermitRootLogin yes)
service sshd restart
标签:sudo,service,虚拟机,Xshell6,ssh,Linux,Root,连接,restart
来源: https://blog.csdn.net/qq_42292831/article/details/98983501