Add external application pattern for private key file

Advertisement

braykov
Joined:
Posts:
92

Add external application pattern for private key file

I can currently open a PuTTY/KiTTY terminal for current connection passing the username and password.
However, for many sites I just have the private key.
While I can add those keys to Pageant/Kageant, our servers are set to reject connection after 3 failed key attempts.
With this feature request, WinSCP would allow me to pass the relevant private key that is used with the current connection to KiTTY's parameter -i.

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
28,069
Location:
Prague, Czechia

Re: Add external application pattern for private key file

Why do you need to use a full command-line. Why don't you just let WinSCP provide complete session settings via registry?

Reply with quote

braykov
Joined:
Posts:
92

Re: Add external application pattern for private key file

Because it is passing the password and I need it passing the key that it set in the connection. It is not doing that. Or am I doing it wrong?

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
28,069
Location:
Prague, Czechia

Re: Add external application pattern for private key file

braykov wrote:

Because it is passing the password and I need it passing the key that it set in the connection. It is not doing that. Or am I doing it wrong?
It should pass everything.

braykov wrote:

Also I am using KiTTY and it is not using the registry.
KiTTY can use registry too (unless you configured it not to).

Reply with quote

Advertisement

braykov
Joined:
Posts:
92

I am in a corporate environment. For several reasons KiTTY is not installed but rather used in portable mode.
And this is how I open it from WinSCP:
C:\kitty\kitty.exe -title ""!N" - "!@"" -cmd "cd '!/'" !U@!@

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
28,069
Location:
Prague, Czechia

I do not think you need to install KiTTY to make it use registry.

Reply with quote

Advertisement

You can post new topics in this forum