Bug #218
plink: unknown option "-auto_store_key_in_cache"
Status: | Closed | Start: | 10/17/2009 | |
Priority: | Immediate | Due date: | ||
Assigned to: | Mirco Bauer | % Done: | 100% |
|
Category: | Windows Installer | |||
Target version: | - | |||
Complexity: | Found in Version: | |||
Votes: | 0 |
Description
plink: unknown option "-auto_store_key_in_cache"
Seems like the version of plink.exe included in the windows installer is not knowing/supporting this parameter. This breaks SSH support at all for windows as that parameter is hardcoded in the tunnel setup code.
Associated revisions
Revision 17f3e3c0746c60440b1cf2ac393aca1cc9032660
Replaced plink.exe from the official putty project with plink.exe from quest software (Quest-PuTTY-0.60_q1) which supports the "-auto_store_key_in_cache" parameter. (closes: #218)
History
Updated by Mirco Bauer 5492 days ago
Smuxi should probably parse the initial output and detect if the issue is a not verified fingerprint and then restart the tunnel with windows and allowing interactive input (no -batch parameter) so the user can acknowledge the fingerprint the first time he connects.
Example output:The server's host key is not cached in the registry. You have no guarantee that the server is the computer you think it is. The server's key fingerprint is: ssh-rsa 2048 54:85:98:69:1c:a9:42:39:d9:09:8c:74:fe:a7:2b:cb If you trust this host, enter "y" to add the key to PuTTY's cache and carry on connecting. If you want to carry on connecting just once, without adding the key to the cache, enter "n". If you do not trust this host, press Return to abandon the connection. Store key in cache? (y/n)
Updated by Mirco Bauer 5492 days ago
Or instead the quest plink flavor of putty should be used instead which supports that special parameter. It's available from: http://rc.quest.com/topics/putty/
Updated by Mirco Bauer 5492 days ago
- File Plink.exe added
Updated by Mirco Bauer 5492 days ago
- Status changed from New to Closed
- % Done changed from 0 to 100
Applied in changeset 17f3e3c0746c60440b1cf2ac393aca1cc9032660.