login about faq

I have about 15 public/private key pairs associated with a single windows account. I am running windows tectia client 6.3*. One of server connections has increased their security to only try 5 different keys before rejecting the connection. How can I associate a particular public/private key pair as the priority for this connection? I don't want to try all 15 keys. I just want to say when connecting to this IP Address with this username, use this key.

Can anyone point me in the right direction.The other 14 keys are in use for different connections.

asked Feb 06 '14 at 21:09

surfbum's gravatar image


edited Feb 06 '14 at 22:50

Roman's gravatar image

Roman ♦♦

I don't believe there is a way to associate a specific private key to use for a connection with the graphical terminal client.

However when using the command line it's possible to give the desired key as a parameter using the -K option, such as:

sshg3 -K C:\path\to\privatekey user@host.example.com

Once you have authenticated using the command line client you can then connect with the graphical terminal client to the same host without requiring to re-authenticate.


answered Feb 06 '14 at 22:49

Roman's gravatar image

Roman ♦♦

I ended up using the "identification" file to tell tectia client witch key to use first. This doesn't do exactly what I wanted because it is not associated with a particular profile but it did fix the profile that was broken by forcing all profiles to try the key listed in the "identification" file first.

The command line approach also would have been good but I don't have the time to rewrite the software that produce the script to automate sftp.


answered Feb 06 '14 at 23:23

surfbum's gravatar image


edited Feb 06 '14 at 23:25

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: Feb 06 '14 at 21:09

Seen: 6,339 times

Last updated: Feb 06 '14 at 23:25

All user contributed content licensed under the cc-by-sa license.
Powered by OSQA.