简体   繁体   English

如何在Azure中访问Linux VM

[英]How to access the Linux VM in Azure

My Project requires me to access a Linux VM which is on Azure. 我的项目要求我访问Azure上的Linux VM。 I can access it using putty (for ssh ) on my home network . 我可以在家庭网络上使用腻子 (用于ssh )访问它。 But in my company network , i cant access the VM. 但是在我的公司网络中 ,我无法访问VM。

Problem - As per my understanding, i don't have port access. 问题 -根据我的理解,我没有端口访问权限。 The network admin says, he can grant me permission for particular IP. 网络管理员说,他可以授予我特定IP的权限。

Question - Is it possible to give the VM a static IP. 问题 -是否可以为VM提供静态IP。

NOTE - My client is Windows 7. And the VM is Ubuntu 14.04 注意 -我的客户端是Windows7。VM是Ubuntu 14.04。

Q: Is it possible to give an Azure instance a static public IP? 问:是否可以为Azure实例提供静态公共IP?

A: Sure - but you'll probably have to pay extra for it: 答:可以-但是您可能需要为此支付额外的费用:

https://azure.microsoft.com/en-us/pricing/details/ip-addresses/ https://azure.microsoft.com/en-us/pricing/details/ip-addresses/

Note, too, that you need a public static IP. 还要注意,您需要一个公共静态IP。 This is something only the folks at Microsoft can give you. 这是只有Microsoft员工才能给您的东西。

If this project is for your company, then your company's network admin probably needs to find another way to open a port for you. 如果此项目适合您的公司,则您公司的网络管理员可能需要寻找另一种为您打开端口的方法。

ADDENDUM: 附录:

Here is one other suggestion: reverse SSH port forwarding: 这是另一种建议:反向SSH端口转发:

Q: Is it possible to give an Azure instance a static public IP? 问:是否可以为Azure实例提供静态公共IP?

A: Your VM has static IP already. 答:您的VM已具有静态IP。

在此处输入图片说明

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

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