无法使用ssh连接到我的VM [英] Cannot connect to my VM using the ssh

查看:344
本文介绍了无法使用ssh连接到我的VM的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我无法连接到我的azure linux</g>使用腻子SSH的虚拟机

I cannot connect to my azure linux</g> VM using putty ssh

这是来自服务器的日志消息

This is the log message from the server

https://social.msdn.microsoft.com/Forums/getfile/1311254

https://social.msdn.microsoft.com/Forums/getfile/1311254

我无法通过以下方法对服务器进行故障诊断

I have troubleshot the server from below methods

https://docs.microsoft.com/zh-cn/azure/virtual-machines/linux/troubleshoot-ssh-connection?toc=%2Fazure%2Fvirtual-machines%2Flinux%2Ftoc.json#detailed-troubleshooting- ssh-错误

https://docs.microsoft.com/en-us/azure/virtual-machines/linux/troubleshoot-ssh-connection?toc=%2Fazure%2Fvirtual-machines%2Flinux%2Ftoc.json#detailed-troubleshooting-of-ssh-errors

我该如何解决问题

推荐答案

用于进行帐户验证,并重新发布屏幕截图以更好地进行 理解.

We don’t see any screenshots attached, if you are experiencing any issues with the posting images, refer the blog How to Verify Your MSDN/TechNet Forums Account So that You Can Post Images and Links for account verification and repost the screenshot for better understanding.

 

我知道您已经尝试过文档中提到的以下步骤: >

I understand that you have tried the following steps as mentioned in the document: Troubleshoot SSH connections to an Azure Linux VM that fails, errors out, or is refused

 

  1. 重置SSH配置.
  2. 重置用户的凭据.
  3. 验证网络安全组规则许可(端口22)SSH流量. li>
  1. Reset the SSH configuration.
  2. Reset the credentials for the user.
  3. Verify the network security group rules permit (Port 22) SSH traffic.

  1. 检查VM资源的运行状况.
      如果您有 启用了启动诊断,请验证VM是否未在日志中报告启动错误.
  1. Check the VM resource health.
    • If you have boot diagnostics enabled, verify the VM is not reporting boot errors in the logs.

 

能否让我们知道结果第4步?看, 如何使用启动诊断程序对Azure中的Linux虚拟机进行故障诊断 以获得详细信息.

Could you let us know the outcome of step 4? See, How to use boot diagnostics to troubleshoot Linux virtual machines in Azure for details.

 

有许多可能的原因是SSH客户端可能无法访问VM上的SSH服务.如果您已经完成了更一般的操作 SSH故障排除步骤(上述),您需要进一步对连接问题进行故障排除.本文将指导您完成详细的故障排除步骤,以确定SSH连接失败的位置以及如何解决该问题.

There are many possible reasons that the SSH client might not be able to reach the SSH service on the VM. If you have followed through the more general SSH troubleshooting steps (above), you need to further troubleshoot the connection issue. The following article guides you through detailed troubleshooting steps to determine where the SSH connection is failing and how to resolve it.

详细 SSH故障排除步骤,用于解决在Azure中连接到Linux VM的问题 –尝试概述的步骤,并让我们知道结果. 

Detailed SSH troubleshooting steps for issues connecting to a Linux VM in Azure – try the steps outlined and let us know the outcome. 


这篇关于无法使用ssh连接到我的VM的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆