ec2 putty连接问题

发布于 2024-07-16 01:24:37 字数 402 浏览 8 评论 0原文

我已经严格按照亚马逊的说明进行操作,但它不起作用。

ec2-api-tools-1.3-34128 - 这是我从 Amazon 获得的 api 工具 按照说明进行设置。 检查了一切以确保我遵循指示。 当我尝试使用它时,我只会得到:“invalid.blabla”,具体取决于我尝试使用的命令。 有人遇到这个问题吗?

我删除了所有实例和所有密钥对。 创建了新的(实例和密钥对)。 按照说明重新设置腻子,我应该这样做 (创建 .ppk 文件和所有内容)。 但问题仍然存在。 当我尝试使用 putty 连接到我的 ec2 实例时 我得到“登录为:”?????????

另外,我使用的是windows vista。 这是一个问题吗?

谢谢

I have followed Amazon instructions to the letter and it does not work.

ec2-api-tools-1.3-34128 - this is the api tools that I got from Amazon
Set it up following instructions. Checked everything to make sure I follow instructions. When I try to use it, I only get: "invalid.blabla" depending on what command do I try to use.
Anybody with this problem?

I deleted all my instances and all key pairs.
Created new ones (instance and key pair).
Setup putty all over again like instructions say I should do
(creating .ppk file and everything).
Still the problem remains.
When I try to connect to my ec2 instance using putty
I get "login as : " ????????

Also, I am using windows vista.
Is this a problem.

Thanks

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

何时共饮酒 2024-07-23 01:24:37

有同样的问题。 我发现在 putty 中我必须做三件事(亚马逊指南中只提到了其中两件事 http://docs.amazonwebservices.com/AmazonEC2/gsg/2007-01-19/putty.html)

  1. 在 ssh 中提供转换后的私钥 -> Auth 部分
  2. 提供 dns 名称或 IP,
  3. 转至 Connection ->; 数据并输入“ec2-user”作为自动登录用户名

希望这可以为其他人节省 20 分钟!

Had this same problem. I found that in putty I had to do three things (only 2 of which are mentioned in the amazon guide at http://docs.amazonwebservices.com/AmazonEC2/gsg/2007-01-19/putty.html)

  1. provide the converted private key in the ssh -> Auth section
  2. provide the dns name or IP
  3. go to Connection -> Data and enter "ec2-user" as the Auto-login username

Hope this saves someone else 20 mins!

风渺 2024-07-23 01:24:37

您是否确定将“root”作为“数据”部分中的自动登录帐户?

Did you make sure that you put "root" as the auto-login account in the "Data" section?

梦里兽 2024-07-23 01:24:37

我犯的一个错误比给我设置的错误消息相同
root@ec2-.eu-west-1.compute.amazonaws.com”作为 putty 中“主机名(或 IP 地址)”字段中的值。

您需要指定“ubuntu@ec2-.eu-west-1.compute.amazonaws.com”。

A mistake I made than gave me the same error message was setting
"root@ec2-.eu-west-1.compute.amazonaws.com" as the value in the "Host Name (or IP Address)" field in putty.

You need to specify "ubuntu@ec2-.eu-west-1.compute.amazonaws.com".

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文