应用pycharm登录linux的问题
n5321 | 2024年9月2日 16:58
初次报错ssh ubuntu@124.220.90.88
原因:linux重装之后,据说是这个内容发生了变化。
文档保存在:C:\Users\Administrator.ssh\known_hosts
解决方式:将known_hosts文档中的内容清空。
重新输入命令:ssh ubuntu@124.220.90.88
提示:Are you sure you want to continue connecting
输入:yes
提示:ubuntu@124.220.90.88's password: 输入:密码
进入:ubuntu@VM-16-12-ubuntu:~$ pwd
可以远程操作ubuntu
ssh ubuntu@124.220.90.88
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY! Someone could be eavesdropping on you right now (man-in-the-middle attack)! It is also possible that a host key has just been changed. The fingerprint for the ECDSA key sent by the remote host is SHA256:EhVKgd/xSNsbrU5QIz47x6WCKP4h2apG993zx8ZVWpw. Please contact your system administrator. Add correct host key in C:\Users\Administrator/.ssh/known_hosts to get rid of this message. Offending ED25519 key in C:\Users\Administrator/.ssh/known_hosts:3 ECDSA host key for 124.220.90.88 has changed and you have requested strict checking. Host key verification failed. PS F:\pythonCode\ubuntunTry02> ssh ubuntu@124.220.90.88 The authenticity of host '124.220.90.88 (124.220.90.88)' can't be established. ECDSA key fingerprint is SHA256:EhVKgd/xSNsbrU5QIz47x6WCKP4h2apG993zx8ZVWpw. Are you sure you want to continue connecting (yes/no/[fingerprint])? y Please type 'yes', 'no' or the fingerprint: yes Warning: Permanently added '124.220.90.88' (ECDSA) to the list of known hosts. ubuntu@124.220.90.88's password: Welcome to Ubuntu 22.04.4 LTS (GNU/Linux 5.15.0-116-generic x86_64)
Documentation: https://help.ubuntu.com
Management: https://landscape.canonical.com
Support: https://ubuntu.com/pro
System information as of Mon Sep 2 09:00:56 PM CST 2024
System load: 0.0 Processes: 133 Usage of /: 19.6% of 39.26GB Users logged in: 1 Memory usage: 23% IPv4 address for eth0: 10.0.16.12 Swap usage: 2%
New release '24.04.1 LTS' available. Run 'do-release-upgrade' to upgrade to it.
* System restart required * Last login: Mon Sep 2 20:41:54 2024 from 81.69.102.132