ESXI系列问题整理以及记录——使用Windows PowerShell中的SSH功能连接ESXI控制台
首先进入ESXI管理页面,开启ESXI的SSH功能
接下来到位于同一局域网的Win主机上开启Powershell,如果ESXI主机的IP地址为192.168.1.77,则在Powershell中输入:
ssh root@192.168.1.77
如果出现报错:
1 @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 2 @ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @ 3 @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 4 IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY! 5 Someone could be eavesdropping on you right now (man-in-the-middle attack)! 6 It is also possible that a host key has just been changed. 7 The fingerprint for the ECDSA key sent by the remote host is 8 SHA256:HDjXJvu0VYXWF+SKMZjSGn4FQmg/+w6eV9ljJvIXpx0. 9 Please contact your system administrator. 10 Add correct host key in /Users/wangdong/.ssh/known_hosts to get rid of this message. 11 Offending ECDSA key in /Users/wangdong/.ssh/known_hosts:46 12 ECDSA host key for 192.168.1.77 has changed and you have requested strict checking. 13 Host key verification failed.
则说明此IP之前为其他主机,触发了SSH安全保护,此时应该使用:
ssh-keygen -R 192.168.1.77
之后询问“Are you sure you want to continue connecting?"输入“Yes”即可正常访问
本文参考:
https://blog.csdn.net/wd2014610/article/details/85639741
https://blog.csdn.net/sinat_34761046/article/details/115700611
转载请联系本人并注明出处
本文仅发布于博客园,如在其他网站看到,皆为洗稿抄袭,特此声明
洗稿网站黑名单:
https://www.yht7.com/ 云海天教程网 未经许可擅自抹掉作者转载,经交涉已删除
http://www.icodebang.com/ 爱码邦 未经许可擅自抹掉作者转载,经交涉已删除
http://www.manongjc.com/ 码农教程 未经许可擅自转载,无联系方式,系恶意洗稿
https://itcn.blog/ IT-Blog 未经许可擅自抹掉作者转载,无联系方式,系恶意洗稿
https://programminghunter.com/ 编程猎人 未经许可擅自抹掉作者转载,正在交涉
https://www.1024sou.com/ 1024搜 未经许可擅自抹掉作者转载,无联系方式,系恶意洗稿
https://www.bbsmax.com/ BBSMAX 未经许可擅自抹掉作者转载,无联系方式,系恶意洗稿