X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;ds=sidebyside;f=doc%2Fplink.but;h=cecdcb03d8ac1fe5f07fdd767ed6631ff1bad647;hb=15386cbe927fc85ac2fed0bb47704645c4b67dad;hp=c45312c56ae8d57cfcdb1f33091f0738b235e906;hpb=7cfe83f7915907ea7cc2643468558e5bd83d4b51;p=PuTTY.git diff --git a/doc/plink.but b/doc/plink.but index c45312c5..cecdcb03 100644 --- a/doc/plink.but +++ b/doc/plink.but @@ -41,7 +41,7 @@ use Plink: \c Z:\sysosd>plink \c Plink: command-line connection utility -\c Release 0.65 +\c Release 0.67 \c Usage: plink [options] [user@]host [command] \c ("host" can also be a PuTTY saved session name) \c Options: @@ -80,6 +80,9 @@ use Plink: \c -N don't start a shell/command (SSH-2 only) \c -nc host:port \c open tunnel in place of session (SSH-2 only) +\c -sshlog file +\c -sshrawlog file +\c log protocol details to a file Once this works, you are ready to use Plink. @@ -230,6 +233,27 @@ line. (This option is only meaningful with the SSH-2 protocol.) +\S2{plink-option-shareexists} \I{-shareexists-plink}\c{-shareexists}: +test for connection-sharing upstream + +This option does not make a new connection; instead it allows testing +for the presence of an existing connection that can be shared. +(See \k{config-ssh-sharing} for more information about SSH connection +sharing.) + +A Plink invocation of the form: + +\c plink -shareexists +\e iiiiiiiii + +will test whether there is currently a viable \q{upstream} for the +session in question, which can be specified using any syntax you'd +normally use with Plink to make an actual connection (a host/port +number, a bare saved session name, \c{-load}, etc). It returns a +zero exit status if a usable \q{upstream} exists, nonzero otherwise. + +(This option is only meaningful with the SSH-2 protocol.) + \H{plink-batch} Using Plink in \i{batch files} and \i{scripts} Once you have set up Plink to be able to log in to a remote server