1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-06-30 19:12:48 -05:00

Rationalise and document log options somewhat.

TOOLTYPE_NONNETWORK (i.e. pterm) already has "-log" (as does Unix
PuTTY), so there's no sense suppressing the synonym "-sessionlog".

Undocumented lacunae that remain:

plink accepts -sessionlog, but does nothing with it. Arguably it should.

puttytel accepts -sshlog/-sshrawlog (and happily logs e.g. Telnet
negotiation, as does PuTTY proper).

(cherry picked from commit a454399ec8)

Conflicts:
	unix/uxplink.c
	windows/winplink.c

(cherry-picker's notes: the conflict was only contextual, in the Plink
help output)
This commit is contained in:
Jacob Nevins
2015-11-08 11:57:39 +00:00
committed by Simon Tatham
parent 4c5ba66066
commit ac9862ec91
12 changed files with 84 additions and 7 deletions

View File

@ -184,6 +184,20 @@ DSR/DTR.
}
\dt \cw{\-sshlog} \e{logfile}
\dt \cw{\-sshrawlog} \e{logfile}
\dd For SSH connections, these options make \cw{plink} log protocol
details to a file. (Some of these may be sensitive, although by default
an effort is made to suppress obvious passwords.)
\lcont{
\cw{\-sshlog} logs decoded SSH packets and other events (those that
\cw{\-v} would print). \cw{\-sshrawlog} additionally logs the raw
encrypted packet data.
}
\S{plink-manpage-more-information} MORE INFORMATION
For more information on plink, it's probably best to go and look at

View File

@ -115,6 +115,20 @@ written. }
\dd Force use of SFTP protocol.
\dt \cw{\-sshlog} \e{logfile}
\dt \cw{\-sshrawlog} \e{logfile}
\dd These options make \cw{pscp} log protocol details to a file.
(Some of these may be sensitive, although by default an effort is made
to suppress obvious passwords.)
\lcont{
\cw{\-sshlog} logs decoded SSH packets and other events (those that
\cw{\-v} would print). \cw{\-sshrawlog} additionally logs the raw
encrypted packet data.
}
\S{pscp-manpage-more-information} MORE INFORMATION
For more information on \cw{pscp} it's probably best to go and look at

View File

@ -95,6 +95,20 @@ accepted (unless a saved session also overrides host keys, in which
case those will be added to), and the host key cache will not be
written. }
\dt \cw{\-sshlog} \e{logfile}
\dt \cw{\-sshrawlog} \e{logfile}
\dd These options make \cw{psftp} log protocol details to a file.
(Some of these may be sensitive, although by default an effort is made
to suppress obvious passwords.)
\lcont{
\cw{\-sshlog} logs decoded SSH packets and other events (those that
\cw{\-v} would print). \cw{\-sshrawlog} additionally logs the raw
encrypted packet data.
}
\S{psftp-manpage-commands} COMMANDS
For a list of commands available inside \cw{psftp}, type \cw{help}

View File

@ -109,7 +109,7 @@ changed under control of the server.)
to specify it explicitly if you have changed the default using the
\cw{ScrollBar} resource.
\dt \cw{\-log} \e{filename}
\dt \cw{\-log} \e{logfile}, \cw{\-sessionlog} \e{logfile}
\dd This option makes \cw{puttytel} log all the terminal output to a file
as well as displaying it in the terminal.

View File

@ -153,7 +153,7 @@ default using the \cw{LoginShell} resource.
to specify it explicitly if you have changed the default using the
\cw{ScrollBar} resource.
\dt \cw{\-log} \e{filename}
\dt \cw{\-log} \e{logfile}, \cw{\-sessionlog} \e{logfile}
\dd This option makes \cw{pterm} log all the terminal output to a file
as well as displaying it in the terminal.

View File

@ -108,11 +108,24 @@ changed under control of the server.)
to specify it explicitly if you have changed the default using the
\cw{ScrollBar} resource.
\dt \cw{\-log} \e{filename}
\dt \cw{\-log} \e{logfile}, \cw{\-sessionlog} \e{logfile}
\dd This option makes \cw{putty} log all the terminal output to a file
as well as displaying it in the terminal.
\dt \cw{\-sshlog} \e{logfile}
\dt \cw{\-sshrawlog} \e{logfile}
\dd For SSH connections, these options make \cw{putty} log protocol
details to a file. (Some of these may be sensitive, although by default
an effort is made to suppress obvious passwords.)
\lcont{
\cw{\-sshlog} logs decoded SSH packets and other events (those that
\cw{\-v} would print). \cw{\-sshrawlog} additionally logs the raw
encrypted packet data.
}
\dt \cw{\-cs} \e{charset}