1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-09 17:38:00 +00:00

Document -no-trivial-auth more thoroughly.

This commit is contained in:
Jacob Nevins 2021-07-09 23:55:15 +01:00
parent 058e390ab5
commit 413398af85
7 changed files with 49 additions and 0 deletions

View File

@ -203,6 +203,15 @@ which of the agent's keys to use. }
\dd Allow use of an authentication agent. (This option is only necessary
to override a setting in a saved session.)
\dt \cw{\-no\-trivial\-auth}
\dd Disconnect from any SSH server which accepts authentication without
ever having asked for any kind of password or signature or token. (You
might want to enable this for a server you always expect to challenge
you, for instance to ensure ensure you don't accidentally type your key
file's passphrase into a compromised server spoofing Plink's passphrase
prompt.)
\dt \cw{\-noshare}
\dd Don't test and try to share an existing connection, always make

View File

@ -155,6 +155,15 @@ which of the agent's keys to use. }
\dd Allow use of an authentication agent. (This option is only necessary
to override a setting in a saved session.)
\dt \cw{\-no\-trivial\-auth}
\dd Disconnect from any SSH server which accepts authentication without
ever having asked for any kind of password or signature or token. (You
might want to enable this for a server you always expect to challenge
you, for instance to ensure ensure you don't accidentally type your key
file's passphrase into a compromised server spoofing PSCP's passphrase
prompt.)
\dt \cw{\-hostkey} \e{key}
\dd Specify an acceptable host public key. This option may be specified

View File

@ -143,6 +143,15 @@ which of the agent's keys to use. }
\dd Allow use of an authentication agent. (This option is only necessary
to override a setting in a saved session.)
\dt \cw{\-no\-trivial\-auth}
\dd Disconnect from any SSH server which accepts authentication without
ever having asked for any kind of password or signature or token. (You
might want to enable this for a server you always expect to challenge
you, for instance to ensure ensure you don't accidentally type your key
file's passphrase into a compromised server spoofing PSFTP's passphrase
prompt.)
\dt \cw{\-hostkey} \e{key}
\dd Specify an acceptable host public key. This option may be specified

View File

@ -287,6 +287,15 @@ which of the agent's keys to use. }
\dd Allow use of an authentication agent. (This option is only necessary
to override a setting in a saved session.)
\dt \cw{\-no\-trivial\-auth}
\dd Disconnect from any SSH server which accepts authentication without
ever having asked for any kind of password or signature or token. (You
might want to enable this for a server you always expect to challenge
you, for instance to ensure ensure you don't accidentally type your key
file's passphrase into a compromised server spoofing PuTTY's passphrase
prompt.)
\dt \cw{\-hostkey} \e{key}
\dd Specify an acceptable host public key. This option may be specified

View File

@ -77,6 +77,8 @@ use Plink:
\c -i key private key file for user authentication
\c -noagent disable use of Pageant
\c -agent enable use of Pageant
\c -no-trivial-auth
\c disconnect if SSH authentication succeeds trivially
\c -noshare disable use of connection sharing
\c -share enable use of connection sharing
\c -hostkey keyid

View File

@ -62,6 +62,8 @@ use PSCP:
\c -i key private key file for user authentication
\c -noagent disable use of Pageant
\c -agent enable use of Pageant
\c -no-trivial-auth
\c disconnect if SSH authentication succeeds trivially
\c -hostkey keyid
\c manually specify a host key (may be repeated)
\c -batch disable all interactive prompts

View File

@ -1014,6 +1014,15 @@ This option is equivalent to the \q{Private key file for
authentication} box in the Auth panel of the PuTTY configuration box
(see \k{config-ssh-privkey}).
\S2{using-cmdline-no-trivial-auth} \i\c{-no-trivial-auth}: disconnect
if SSH authentication succeeds trivially
This option causes PuTTY to abandon an SSH session if the server
accepts authentication without ever having asked for any kind of
password or signature or token.
See \k{config-ssh-notrivialauth} for why you might want this.
\S2{using-cmdline-loghost} \i\c{-loghost}: specify a \i{logical host
name}