解决ssh 登录虚拟机出现各种各样的问题

The authenticity of host ‘localhost (127.0.0.1)’ can’t be established

花了好久时间,最后终于从大佬那里找到了解决方法:
链接: link.
输入下面一行代码就解决了

chmod 777 /etc/ssh/ssh_config

注意是在自己的终端,而不是虚拟机linux里面。

个人理解:虚拟机的热键配置问题不对,使用命令进行修改就行了,大概就是将“localhost”(ECDSA)永久添加到已知主机的列表中。

GitHub 加速计划 / li / linux-dash
10.39 K
1.2 K
下载
A beautiful web dashboard for Linux
最近提交(Master分支:1 个月前 )
186a802e added ecosystem file for PM2 4 年前
5def40a3 Add host customization support for the NodeJS version 4 年前
Logo

旨在为数千万中国开发者提供一个无缝且高效的云端环境,以支持学习、使用和贡献开源项目。

更多推荐