Bug #218

avatar

plink: unknown option "-auto_store_key_in_cache"

Added by Mirco Bauer 5303 days ago. Updated 5303 days ago.

Status:Closed Start:10/17/2009
Priority:Immediate Due date:
Assigned to:avatarMirco Bauer % Done:

100%

Category:Windows Installer
Target version:-
Complexity:

Found in Version:

Votes: 0

Description

When you connect to a smuxi-server on windows it will give you the following error message:
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.

Plink.exe - Quest-PuTTY-0.60_q1 Plink.exe (849.4 KB) Mirco Bauer, 10/17/2009 09:37 PM

Associated revisions

Revision 17f3e3c0746c60440b1cf2ac393aca1cc9032660
Added by Mirco Bauer 5303 days ago

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 5303 days ago

avatar

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 5303 days ago

avatar

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 5303 days ago

avatar

Updated by Mirco Bauer 5303 days ago

avatar
  • Status changed from New to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF