【问题标题】:Telnet to a specific port on my ec2 instanceTelnet 到我的 ec2 实例上的特定端口
【发布时间】:2017-08-27 12:34:23
【问题描述】:

我需要通过端口2222 远程登录到我的 ec2 实例。我已将其包含在源为AnywhereCustom TCP Rule 的安全组中。它是一个 64 位 Linux 机器。我可以通过端口22 进行连接,但是当我尝试使用2222 时,它显示telnet: Unable to connect to remote host: Connection refused。如果连接成功,我还需要跳过登录/密码提示。

【问题讨论】:

    标签: amazon-web-services networking tcp telnet aws-security-group


    【解决方案1】:

    尝试在其配置文件中更改 Telnet 服务器正在侦听的端口。

    【讨论】:

    • 你的意思是 /etc/services?
    • 这取决于您运行的 Linux 发行版。签到/etc/inetd.conf/etc/xinetd.d/telnet
    猜你喜欢
    • 2020-04-28
    • 1970-01-01
    • 2020-08-05
    • 1970-01-01
    • 2016-05-18
    • 2019-04-20
    • 1970-01-01
    • 1970-01-01
    • 2012-08-25
    相关资源
    最近更新 更多