vagrant用密码连接ssh

1通过 ssh address连接
1:进去linux
2:修改配置文件信息 vi /etc/ssh/sshd_config

修改 passwordAuthentication no 改为 passwordAuthentication yes

3:重启ssh服务 systemctl restart sshd.service

 

posted @ 2022-08-08 09:50  今年我十八岁  阅读(220)  评论(0编辑  收藏  举报