????????无法连接问题?
原来的虚拟网卡选nat模式
1增加虚拟网卡-
2 选择仅与主机通信
root@zym-virtual-machine:/home/zym/Desktop#?
root@zym-virtual-machine:/home/zym/Desktop# vim /etc/ssh/sshd_config
Command 'vim' not found, but can be installed with:
?修改配置允许root连接
#LoginGraceTime 2m
PermitRootLogin yes
#StrictModes yes
#MaxAuthTries 6
#MaxSessions 10
root@zym-virtual-machine:/home/zym/Desktop# vi /etc/ssh/sshd_config
root@zym-virtual-machine:/home/zym/Desktop#?
root@zym-virtual-machine:/home/zym/Desktop#?
root@zym-virtual-machine:/home/zym/Desktop# systemctl restart sshd