linux - Azure Linux 机器未连接

标签 linux azure ssh

<分区>

在 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

最佳答案

如果您关机,则机器的 IP 已更改。在控制面板中检查它。

关于linux - Azure Linux 机器未连接,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/38925667/

相关文章:

c - 可以拆分/级联 getopt_long 吗?

c - 如何在日志文件中引入日期和时间

linux - 如果找到关键字,则删除定界符之间的模式

c# - 具有 IoT 中心的 Azure Functions 无法检索分区

java - 使用 azure.keyvault.secret.property-sources 时 Spring Boot 应用程序启动失败并丢失日志

ubuntu - 无法访问 Spark Web UI

linux - x86-64 架构上的 gnu 汇编 RET 指令失败

azure - 在 Azure DevOps 中将 Docker 容器标记为最新

windows - 无法在 WSL 中使用 git。 C :\Windows\System32\OpenSSH\ssh. exe:未找到

ssh - "docker run -dti"带有哑终端