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

Document -ssh-connection (and -ssh) options.

This commit is contained in:
Jacob Nevins 2021-04-19 15:57:13 +01:00
parent ef26ecd81c
commit a0a985957f
9 changed files with 43 additions and 4 deletions

View File

@ -56,6 +56,13 @@ to aid in verifying new files released by the PuTTY team.
\dd Force serial mode.
\dt \cw{-ssh-connection}
\dd Force use of the \q{bare \cw{ssh-connection}} protocol. This is
only likely to be useful when connecting to a \e{psusan(1)} server,
most likely with an absolute path to a Unix-domain socket in place
of \e{host}.
\dt \cw{\-proxycmd} \e{command}
\dd Instead of making a TCP connection, use \e{command} as a proxy;

View File

@ -115,6 +115,19 @@ commands such as \q{\c{w}}).
\dd Force use of SSH protocol version 2.
\dt \cw{-ssh-connection}
\dd Force use of the \q{bare \cw{ssh-connection}} protocol. This is
only likely to be useful when connecting to a \e{psusan(1)} server,
most likely with an absolute path to a Unix-domain socket in place
of \e{host}.
\dt \cw{-ssh}
\dd Force use of the SSH protocol. (This is usually not needed; it's
only likely to be useful if you need to override some other
configuration of the \q{bare \cw{ssh-connection}} protocol.)
\dt \cw{-4}, \cw{-6}
\dd Force use of IPv4 or IPv6 for network connections.

View File

@ -103,6 +103,19 @@ commands such as \q{\c{w}}).
\dd Force use of SSH protocol version 2.
\dt \cw{-ssh-connection}
\dd Force use of the \q{bare \cw{ssh-connection}} protocol. This is
only likely to be useful when connecting to a \e{psusan(1)} server,
most likely with an absolute path to a Unix-domain socket in place
of \e{host}.
\dt \cw{-ssh}
\dd Force use of the SSH protocol. (This is usually not needed; it's
only likely to be useful if you need to override some other
configuration of the \q{bare \cw{ssh-connection}} protocol.)
\dt \cw{-4}, \cw{-6}
\dd Force use of IPv4 or IPv6 for network connections.

View File

@ -71,7 +71,7 @@ use Plink:
\c -X -x enable / disable X11 forwarding
\c -A -a enable / disable agent forwarding
\c -t -T enable / disable pty allocation
\c -1 -2 force use of particular protocol version
\c -1 -2 force use of particular SSH protocol version
\c -4 -6 force use of IPv4 or IPv6
\c -C enable compression
\c -i key private key file for user authentication

View File

@ -55,6 +55,8 @@ use PSCP:
\c -l user connect with specified username
\c -pw passw login with specified password
\c -1 -2 force use of particular SSH protocol version
\c -ssh -ssh-connection
\c force use of particular SSH protocol variant
\c -4 -6 force use of IPv4 or IPv6
\c -C enable compression
\c -i key private key file for user authentication
@ -255,7 +257,7 @@ scripts: using \c{-batch}, if something goes wrong at connection
time, the batch job will fail rather than hang.
\S2{pscp-usage-options-backend}\i\c{-sftp}, \i\c{-scp} force use of
particular protocol
particular file transfer protocol
As mentioned in \k{pscp-usage-basics}, there are two different file
transfer protocols in use with SSH. Despite its name, PSCP (like many

2
pscp.c
View File

@ -2196,6 +2196,8 @@ static void usage(void)
printf(" -l user connect with specified username\n");
printf(" -pw passw login with specified password\n");
printf(" -1 -2 force use of particular SSH protocol version\n");
printf(" -ssh -ssh-connection\n");
printf(" force use of particular SSH protocol variant\n");
printf(" -4 -6 force use of IPv4 or IPv6\n");
printf(" -C enable compression\n");
printf(" -i key private key file for user authentication\n");

View File

@ -2531,6 +2531,8 @@ static void usage(void)
printf(" -P port connect to specified port\n");
printf(" -pw passw login with specified password\n");
printf(" -1 -2 force use of particular SSH protocol version\n");
printf(" -ssh -ssh-connection\n");
printf(" force use of particular SSH protocol variant\n");
printf(" -4 -6 force use of IPv4 or IPv6\n");
printf(" -C enable compression\n");
printf(" -i key private key file for user authentication\n");

View File

@ -521,7 +521,7 @@ static void usage(void)
printf(" -X -x enable / disable X11 forwarding\n");
printf(" -A -a enable / disable agent forwarding\n");
printf(" -t -T enable / disable pty allocation\n");
printf(" -1 -2 force use of particular protocol version\n");
printf(" -1 -2 force use of particular SSH protocol version\n");
printf(" -4 -6 force use of IPv4 or IPv6\n");
printf(" -C enable compression\n");
printf(" -i key private key file for user authentication\n");

View File

@ -143,7 +143,7 @@ static void usage(void)
printf(" -X -x enable / disable X11 forwarding\n");
printf(" -A -a enable / disable agent forwarding\n");
printf(" -t -T enable / disable pty allocation\n");
printf(" -1 -2 force use of particular protocol version\n");
printf(" -1 -2 force use of particular SSH protocol version\n");
printf(" -4 -6 force use of IPv4 or IPv6\n");
printf(" -C enable compression\n");
printf(" -i key private key file for user authentication\n");