在Microsoft Azure虚拟机上工作时,我注意到它显着滞后,所以我决定运行sudo reboot命令然后ssh回来。当我尝试ssh回来时
ssh user@ipaddress
我收到了错误:
ssh: connect to host xxx.xx.xx.xxx port 22: Operation timed out.
当我使用-vvv运行ssh命令时,我得到:
OpenSSH_6.9p1, LibreSSL 2.1.8
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 20: Applying options for *
debug1: /etc/ssh/ssh_config line 53: Applying options for *
debug2: ssh_connect: needpriv 0
debug1: Connecting to xxx.xx.xx.xxx [xxx.xx.xx.xxx] port 22.
debug1: connect to address xxx.xx.xx.xxx port 22: Operation timed out
ssh: connect to host xxx.xx.xx.xxx port 22: Operation timed out
答案 0 :(得分:1)
如果您关机,机器的IP已更改。在控制面板中查看。