[英]How do I login to AWS EC2 with only a public ip address, username, and password?
I have received a Public IP, Username, and Password for an EC2 instance I need to deploy a Node API backend to, but I'm not able to ssh into it.我收到了一个 EC2 实例的公共 IP、用户名和密码,我需要将节点 API 后端部署到其中,但我无法将 ssh 部署到其中。 When I try to SSH into it, I get the following message:
当我尝试将 SSH 输入其中时,我收到以下消息:
ssh: connect to host xx.xxx.xxx.xx port 22: Connection timed out
And if I try to ping the IP address, I receive a timeout as well:如果我尝试 ping IP 地址,我也会收到超时消息:
Pinging xx.xxx.xxx.xx with 32 bytes of data:
Request timed out.
Usually I get a pem file, but I wasn't provided with one on this project.通常我会得到一个 pem 文件,但在这个项目中没有提供给我。 Are those always required for AWS EC2 connections and maybe they just forgot to provide me with it?
AWS EC2 连接是否总是需要这些,也许他们只是忘了提供给我?
Thanks in advance!提前致谢!
It turned out to be an issue on the AWS configuration side.结果证明是 AWS 配置方面的问题。 The route table did not have the inte.net gateway set.
路由表没有设置 inte.net 网关。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.