首先配置linux网络,
取消注释,进入文件
vi /etc/ssh/sshd_config
去掉前面的#号
# Authentication:
LoginGraceTime 2rm
PermitRootLogin yes
StrictModes yes
然后配置电脑上虚拟机网络地址
参考链接:
VMnet8配置
如果是ssh拒绝了密码,
应该是用户名大写改为小写。注意用户名不是进入Linux系统之前登录的用户名,而是打开终端第一次出现的用户名
[yyy@localhost ~]$
我的用户名是yyy
参考博客链接:
https://www.cnblogs.com/lbocean/p/14284936.html
linux和Windows传输文件方式:
https://blog.csdn.net/qq_41071068/article/details/102829197