Importing Host Keys

Advertisement

ADobkin
Joined:
Posts:
15
Location:
Maestro IT Services, LLC

Importing Host Keys

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

Reply with quote

Advertisement

ADobkin

Re: Importing Host Keys

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.

Reply with quote

martin
Site Admin
martin avatar

Re: Importing Host Keys

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?

Reply with quote

ADobkin

Re: Importing Host Keys

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.

Reply with quote

Advertisement

Advertisement

You can post new topics in this forum