禁用SELINUX选项后,无法从teraterm连接Azure Linux VM [英] Unable to connect Azure Linux VM from teraterm after disabling SELINUX option

查看:331
本文介绍了禁用SELINUX选项后,无法从teraterm连接Azure Linux VM的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用azure Linux centos 7.

I am using azure Linux centos 7.

出于某种目的,我已禁用SELINUX选项。

For some purpose, I have disabled SELINUX option.

之后我无法从teraterm连接VM。

我可以从azure门户串行控制台连接。我已经从串口控制台启用了SELINUX,但我仍然无法从teraterm,SFTP连接。

I am able to connect from azure portal serial console. I have enabled SELINUX from serial console but still I am not able to connect from teraterm,SFTP.

错误:连接被拒绝。

请帮助。

推荐答案

你能确定吗您为ssh打开了端口。

Can you make sure that you have the ports open for ssh.

您可以在门户网站的VM概述中检查网络下的网络。请验证子网规则和虚拟机规则。

You can check that under networking in VM overview in the portal. Please verify the subnet rules and virtual machines rules.

之后验证您是否能够使用telnet连接到公共IP。

After that verify if you are able to connect to the public ip using telnet.

telnet <public ip> 22

试一试并告诉我


这篇关于禁用SELINUX选项后,无法从teraterm连接Azure Linux VM的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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