Import SSH Key


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

file attachments


tender wrote Mar 26, 2012 at 4: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.

wrote Aug 14, 2012 at 10:07 AM

wrote Oct 3, 2012 at 7:11 PM

wrote Nov 23, 2012 at 5:54 PM

wrote Feb 22, 2013 at 2:54 AM

iareanet wrote Feb 22, 2013 at 7:32 PM

i would like to import a key as well

geoffg wrote Apr 8, 2013 at 8: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.


wrote Apr 17, 2013 at 5:37 AM

jonasbjork wrote May 21, 2013 at 8:30 AM

Any progress on this?

wrote May 21, 2013 at 8:31 AM

jirkapok wrote May 21, 2013 at 4:40 PM

No, it isn't planed for current release

wrote Sep 23, 2013 at 7:26 AM

wrote Oct 8, 2013 at 9:49 PM

wrote Oct 29, 2013 at 9:52 PM

wrote Dec 12, 2013 at 5:43 PM

RobChartier wrote Dec 12, 2013 at 5:43 PM


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 6:48 PM

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


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

Sukramarkus wrote Feb 5, 2014 at 3: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, 2014 at 2: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.

wrote Oct 30, 2014 at 6:39 PM

wrote Jan 29 at 8:52 AM