How to ssh into an AWS EC2 instance with Remmina

荒凉一梦 提交于 2020-01-17 06:37:20

问题


I am trying to replace putty with Remmina as I need to log into several instances and I get an "Enter private key passphrase", even though I had not set one up for the key. I use the same params as in putty, ec2-user, public dnsand the ppk keyfile.

Any suggestions?


回答1:


I use the same params as in putty, ec2-user, public dns and the ppk keyfile.

Putty PPK files use a file format specific to putty (and certain other programs like WinSCP). Unix-based ssh clients typically use a different key file format compatible with the OpenSSH software. If you want to use your existing key with this Remmina utility, you'll need to convert it from the Putty format to the OpenSSH format.

This process is documented in the Putty puttygen documentation. On a PC, open puttygen, load the key in question, then select Conversions->Export to export it in an OpenSSH-compatible format. OpenSSH private key filenames commonly have names like "id_rsa" with no extension. But this isn't important--you could name the file whatever you like.

Alternately, you could create a new key on your Linux system, install the public part on the server, and use that.

Putty has a page explaining why it uses a different key format, if you're interested.




回答2:


  1. Name Profile (example: AWS EC2 Instance)

  2. PROTOCOL: SSH - Secure Shell

  3. Post Command: /path/to/file -i "file.pem" (example: /home/$USER/Desktop -i "ec2privatekey.pem") SSH [-i identity_file]

  4. User name: [EC2_USER]

  5. Authentication type: SSH identity file

  6. Identity File: CHECK Box & ATTACH file.pem

  7. Save & Connect

REMMINA ec2 SSH AWS Config



来源:https://stackoverflow.com/questions/39173883/how-to-ssh-into-an-aws-ec2-instance-with-remmina

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!