【问题标题】:Access AWS from bash by IP address [closed]通过 IP 地址从 bash 访问 AWS [关闭]
【发布时间】:2016-03-07 05:28:36
【问题描述】:

有没有人知道如何从 Ubuntu 的 bash 控制台访问只有服务器 IP(例如 239.255.255.255)和 .pem 文件的 AWS?

【问题讨论】:

  • 您的意思是,您想通过 ssh 连接到 AWS EC2 实例,或者您想将您的 ssh 密钥添加到授权主机,或者您需要在安全组中使用您的 IP?你的问题很模糊。

标签: amazon-web-services ssh ip


【解决方案1】:

如果你想通过 SSH 连接到服务器,只需使用:

ssh -i yourkey.pem user@your.ip.addr.ess

对于 ubuntu AMI,用户是 ubuntu,对于 Amazon Linux 是 ec2-user,对于 Debian 是 admin,等等。

【讨论】:

    猜你喜欢
    • 2019-01-30
    • 2014-06-24
    • 2014-12-16
    • 2016-11-05
    • 1970-01-01
    • 2022-07-14
    • 2018-03-03
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多