简体   繁体   English

无法从某个 IP SSH 到 Azure 虚拟机

[英]Cannot SSH to an Azure Virtual Machine from a certain IP

Up until two weeks ago I'd been happily connecting to a virtual machine hosted in the Azure cloud over SSH.直到两周前,我一直很高兴地通过 SSH 连接到托管在 Azure 云中的虚拟机。 All of a sudden, the connection could not be established anymore, the SSH always times out.突然之间,无法再建立连接,SSH 总是超时。 The tricky part is that it only happens from a computer that is in a certain firm's lan (one public IP).棘手的部分是它只发生在某个公司局域网(一个公共 IP)中的计算机上。 Every other internet access connection works fine and I'm able to connect to the virtual machine successfully.所有其他 Internet 访问连接都工作正常,我能够成功连接到虚拟机。 My IT support tells me that they can see the packets leaving our network and the firewall is not blocking the connection - I can't see any failed login attempts in the SSH log on the server.我的 IT 支持人员告诉我,他们可以看到离开我们网络的数据包,并且防火墙没有阻止连接 - 我在服务器上的 SSH 日志中看不到任何失败的登录尝试。 The IT suggests the Azure may be blocking our IP for the SSH connection (other ports work fine btw). IT 建议 Azure 可能会阻止我们的 IP 用于 SSH 连接(顺便说一句,其他端口工作正常)。 My question is - is such a thing even real?我的问题是 - 这样的事情是真的吗? Can Azure block the IP without the user knowing about it? Azure 能否在用户不知情的情况下阻止 IP? Is there some kind of IP blacklist I could edit?我可以编辑某种 IP 黑名单吗?

Thanks!谢谢!

The only place where Your IP could be cutted-off is ACL on SSH endpoint.唯一可以切断您的 IP 的地方是 SSH 端点上的 ACL。 Go to management portal and check if You have any ACLs on SSH endpoint.转到管理门户并检查您在 SSH 端点上是否有任何 ACL。 Maybe You misconfigured some?也许你配置错误?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM