I've created a putty session using a private key (no passphrase) that connects flawlessly from putty. However, when I connect via plink, loading the same session on the same machine, specifying the same username, I get the No supported authentication methods available message. Any ideas? I need to use plink from a CLI without going through the putty gui. I installed putty-0.62-installer in Win 2008.
Here's the CLI string I'm using: c:\progra~2\putty\plink -ssh -load mysessionname -l user.name
RESULT: Server refused our key FATAL ERROR: Disconnected: No supported authentication methods available (server sent: publickey,gssapi-keyex,gssapi-with-mic)
-icommand line option, like so:plink -i C:\path\to\private-key.ppk -ssh [email protected]. (I found that advice in section 12 of this page.) - Josh O'Brien