11
Vote

Import SSH Key

description

Is there a way to import a private ssh key from another system?

file attachments

comments

tender wrote Mar 26, 2012 at 3:24 PM

I mean the OpenSSH private key or the equivalent Putty format (http://linux-sxs.org/networking/openssh.putty.html)
I don't want to handle another secret key.
Regards

iareanet wrote Feb 22, 2013 at 6:32 PM

i would like to import a key as well

geoffg wrote Apr 8, 2013 at 7:18 PM

I would like to switch from PuTTY to Terminals; it looks like a much better application for what I do, but not being able to use the pre-existing SSH keys I already have is a deal breaker. Please add this.

--Geoff

jonasbjork wrote May 21, 2013 at 7:30 AM

Any progress on this?

jirkapok wrote May 21, 2013 at 3:40 PM

No, it isn't planed for current release

RobChartier wrote Dec 12, 2013 at 4:43 PM

Hello.

I just pushed a commit which includes support for 'ssh.com' private key files to be used.

The details...

If you do not have a ssh.com private key file, you will need to use PuTTY Key Generator to import your existing private key, and export to this format. No need to regenerate any client or server keys (private nor public). Just convert the private key file to this format, and use it in Terminals.

I understand that it is not 100% ideal, but it does avoid another key file just for terminals, and its own location for managing that file. When you generate your local keys (ssh-keygen), just remember to also update your ss.com key file as well.

Make sure you set a UserName on the "General" tab as well. This is required for SSH Public key auth.

RobChartier wrote Dec 12, 2013 at 5:48 PM

FYI, build package #3.3.0.369 contains this fix. Please give it a try and provide some feedback!

Link:
http://goo.gl/eJ7JEi

If you get asked for a login, hit "login as guest" on the bottom right.

Sukramarkus wrote Feb 5 at 2:29 PM

Does this build support password protected key files? I always get following error:
FATAL 2014-02-05 16:25:13,167 81414ms Terminals              Connect            - Connecting to unknown Connection
Granados.SSHException: The passphrase is wrong.
   at Granados.SSH2.SSH2UserAuthKey.FromSECSHStyleStream(Stream strm, String passphrase)
   at Granados.SSH2.SSH2Connection.UserAuth()
   at Granados.SSH2.SSH2Connection.Connect()
   at Granados.SSHConnection.ConnectMain(SSHConnectionParameter param, ISSHConnectionEventReceiver receiver, VersionExchangeHandler pnh, AbstractGranadosSocket s)
   at SSHClient.Protocol.Connect(Socket s)
   at Terminals.Connections.TerminalConnection.ConfigureSshConnection(ISecurityOptions security)
   at Terminals.Connections.TerminalConnection.Connect()

iamgabeortiz wrote Jun 14 at 1:08 PM

Yea I just created my key conforming to the ssh.com standard and get the same error when trying to utilize my private key to connect to an ec2 rhel instance. Works fine off the same key in Putty.