mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-10 01:48:00 +00:00
Docs: use less personalised example Windows prompts.
The previous prompts were part of transcripts pasted directly from a particular historical cmd session, but that's no reason to keep them lying around confusingly, especially since we keep regenerating some of those transcripts outside that historical context. Replace them all with nice simple C:\> which shouldn't confuse anyone with extraneous detail.
This commit is contained in:
parent
371c7d12f5
commit
f955300576
@ -39,7 +39,7 @@ Once you've got a console window to type into, you can just type
|
|||||||
version of Plink you're using, and gives you a brief summary of how to
|
version of Plink you're using, and gives you a brief summary of how to
|
||||||
use Plink:
|
use Plink:
|
||||||
|
|
||||||
\c Z:\sysosd>plink
|
\c C:\>plink
|
||||||
\c Plink: command-line connection utility
|
\c Plink: command-line connection utility
|
||||||
\c Release 0.73
|
\c Release 0.73
|
||||||
\c Usage: plink [options] [user@]host [command]
|
\c Usage: plink [options] [user@]host [command]
|
||||||
@ -100,7 +100,7 @@ Once this works, you are ready to use Plink.
|
|||||||
To make a simple interactive connection to a remote server, just
|
To make a simple interactive connection to a remote server, just
|
||||||
type \c{plink} and then the host name:
|
type \c{plink} and then the host name:
|
||||||
|
|
||||||
\c Z:\sysosd>plink login.example.com
|
\c C:\>plink login.example.com
|
||||||
\c
|
\c
|
||||||
\c Debian GNU/Linux 2.2 flunky.example.com
|
\c Debian GNU/Linux 2.2 flunky.example.com
|
||||||
\c flunky login:
|
\c flunky login:
|
||||||
@ -117,7 +117,7 @@ In order to connect with a different protocol, you can give the
|
|||||||
command line options \c{-ssh}, \c{-telnet}, \c{-rlogin} or \c{-raw}.
|
command line options \c{-ssh}, \c{-telnet}, \c{-rlogin} or \c{-raw}.
|
||||||
To make an SSH connection, for example:
|
To make an SSH connection, for example:
|
||||||
|
|
||||||
\c Z:\sysosd>plink -ssh login.example.com
|
\c C:\>plink -ssh login.example.com
|
||||||
\c login as:
|
\c login as:
|
||||||
|
|
||||||
If you have already set up a PuTTY saved session, then instead of
|
If you have already set up a PuTTY saved session, then instead of
|
||||||
@ -125,7 +125,7 @@ supplying a host name, you can give the saved session name. This
|
|||||||
allows you to use public-key authentication, specify a user name,
|
allows you to use public-key authentication, specify a user name,
|
||||||
and use most of the other features of PuTTY:
|
and use most of the other features of PuTTY:
|
||||||
|
|
||||||
\c Z:\sysosd>plink my-ssh-session
|
\c C:\>plink my-ssh-session
|
||||||
\c Sent username "fred"
|
\c Sent username "fred"
|
||||||
\c Authenticating with public key "fred@winbox"
|
\c Authenticating with public key "fred@winbox"
|
||||||
\c Last login: Thu Dec 6 19:25:33 2001 from :0.0
|
\c Last login: Thu Dec 6 19:25:33 2001 from :0.0
|
||||||
@ -196,18 +196,18 @@ Once you have done all this, you should be able to run a remote
|
|||||||
command on the SSH server machine and have it execute automatically
|
command on the SSH server machine and have it execute automatically
|
||||||
with no prompting:
|
with no prompting:
|
||||||
|
|
||||||
\c Z:\sysosd>plink login.example.com -l fred echo hello, world
|
\c C:\>plink login.example.com -l fred echo hello, world
|
||||||
\c hello, world
|
\c hello, world
|
||||||
\c
|
\c
|
||||||
\c Z:\sysosd>
|
\c C:\>
|
||||||
|
|
||||||
Or, if you have set up a saved session with all the connection
|
Or, if you have set up a saved session with all the connection
|
||||||
details:
|
details:
|
||||||
|
|
||||||
\c Z:\sysosd>plink mysession echo hello, world
|
\c C:\>plink mysession echo hello, world
|
||||||
\c hello, world
|
\c hello, world
|
||||||
\c
|
\c
|
||||||
\c Z:\sysosd>
|
\c C:\>
|
||||||
|
|
||||||
Then you can set up other programs to run this Plink command and
|
Then you can set up other programs to run this Plink command and
|
||||||
talk to it as if it were a process on the server machine.
|
talk to it as if it were a process on the server machine.
|
||||||
|
@ -37,7 +37,7 @@ Once you've got a console window to type into, you can just type
|
|||||||
version of PSCP you're using, and gives you a brief summary of how to
|
version of PSCP you're using, and gives you a brief summary of how to
|
||||||
use PSCP:
|
use PSCP:
|
||||||
|
|
||||||
\c Z:\owendadmin>pscp
|
\c C:\>pscp
|
||||||
\c PuTTY Secure Copy client
|
\c PuTTY Secure Copy client
|
||||||
\c Release 0.73
|
\c Release 0.73
|
||||||
\c Usage: pscp [options] [user@]host:source target
|
\c Usage: pscp [options] [user@]host:source target
|
||||||
|
Loading…
Reference in New Issue
Block a user