Topic "Importing Host Keys"

Author Message
ADobkin
[View user's profile]

Joined: 2004-02-22
Posts: 16
Location: Maestro IT Services, LLC
It would be nice if WinSCP would also import the host key from PuTTY when the session is imported, or if a separate option could be added to import host keys. This would prevent users from seeing the warning message about the host key not being cached in the registry.

Thanks,
Alan
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
Well, I'm not sure it is that useful to be worth creating another window.
_________________
Martin Prikryl
ADobkin
[View user's profile]

Joined: 2004-02-22
Posts: 16
Location: Maestro IT Services, LLC
Instead of creating another separate window, how about just adding a check box in the existing window to also import the host key when the session is imported? Or, just automatically import the key without giving the user an option. I think this would be better than not importing the key at all.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
Host key is not associated with any session. You may have plenty of keys for one hosts as well. There is different key for SSH1 and SSH2, for rsa/dss, etc. Which one should be imported?
_________________
Martin Prikryl
ADobkin
[View user's profile]

Joined: 2004-02-22
Posts: 16
Location: Maestro IT Services, LLC
Good point. I guess I hadn't thought it through. It seems like the simple thing to do would be to import all of the keys that the session is configured to use. In other words, if the session is configured to connect to host x at port y using SSH version 2, then grab only the SSH2 keys (rsa and dsa if both exist) for that host and port combination.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
OK, I'll see Smile
_________________
Martin Prikryl
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License