无法连接到Linux机器 [英] Can't connect to Linux machine

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

问题描述

我正在尝试在Azure上的Linux上使用RDP,并且端口是开放的3389,允许建立连接,但是我无法通过ssh甚至串行控制台进行连接.

I'm trying RDP with Linux on Azure and the ports are open 3389 allowing the connection to be made however I can't connect through ssh or even the serial console.

推荐答案

由于您正在使用  Linux VM,并且正在寻找RDP,您是先安装xfce4吗?

Since you are using  a Linux VM and are looking to RDP did you first install xfce4 first? 

https://docs.microsoft.com/zh-CN /azure/virtual-machines/linux/use-remote-desktop

一旦安装,您将需要在中添加所需的端口. 听起来像您已经做过的网络安全组.

Once installed, you will need to add the needed ports in the Network Security Group which it sounds like you already did. 

对于RDP,打开端口3389

For RDP open port 3389

对于SSH打开端口22

For SSH open port 22


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

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