2

I open SSH links in Putty from KeePass (with KeeAgent plugin).

One of servers I visit show authentication error immediately after connection, because putty tries to use private key authentication.

Is there command line parameter to disable key authentication in Putty?

I know, I can uncheck this box and save it in "Default Settings". But I wold like to define this for individual entries.

enter image description here

2 Answers 2

2

Manual page describes options to control use of Pageant for authentication:

The -agent option turns on SSH authentication using Pageant, and -noagent turns it off. These options are only meaningful if you are using SSH.

So now urls to this servers in KeePass looks like ssh://{IP} -noagent

0

According to the PuTTY manual you cannot change this behaviour from the command line.

What you could do, create a saved session for this particular host without the checkbox set and launch the saved session from the command line with putty.exe -load "session name"

1
  • 1
    Documentation you linked is outdated. Version 0.53b is released in 2002. Current version is 0.63. Commented Apr 10, 2014 at 14:56

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .