问题
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:
Name Profile (example: AWS EC2 Instance)
PROTOCOL: SSH - Secure Shell
Post Command: /path/to/file -i "file.pem" (example: /home/$USER/Desktop -i "ec2privatekey.pem") SSH [-i identity_file]
User name: [EC2_USER]
Authentication type: SSH identity file
Identity File: CHECK Box & ATTACH file.pem
Save & Connect
REMMINA ec2 SSH AWS Config
来源:https://stackoverflow.com/questions/39173883/how-to-ssh-into-an-aws-ec2-instance-with-remmina