group14_indigo:Putty
A lot of PuTTY’s complexity and features are in the configuration panel. Once you have worked your way through that and started a session, things should be reasonably simple after that. Nevertheless, there are a few more useful features available.
Often in a PuTTY session you will find text on your terminal screen which you want to type in again. Like most other terminal emulators, PuTTY allows you to copy and paste the text rather than having to type it again. Also, copy and paste uses the Windows clipboard, so that you can paste (for example) URLs into a web browser, or paste from a word processor or spreadsheet into your terminal session.
PuTTY keeps track of text that has scrolled up off the top of the terminal. So if something appears on the screen that you want to read, but it scrolls too fast and it’s gone by the time you try to look for it, you can use the scrollbar on the right side of the window to look back up the session history and find it again.
If you click the left mouse button on the icon in the top left corner of PuTTY’s window, or click the right mouse button on the title bar, you will see the standard Windows system menu containing items like Minimise, Move, Size and Close.
If you choose “Event Log” from the system menu, a small window will pop up in which PuTTY logs significant events during the connection. Most of the events in the log will probably take place during session startup, but a few can occur at any point in the session, and one or two occur right at the end.
PuTTY’s system menu provides some shortcut ways to start new sessions:
- Selecting “New Session” will start a completely new instance of PuTTY, and bring up the configuration box as normal.
- Selecting “Duplicate Session” will start a session with precisely the same options as your current one – connecting to the same host using the same protocol, with all the same terminal settings and everything.
If you select “Change Settings” from the system menu, PuTTY will display a cut-down version of its initial configuration box. This allows you to adjust most properties of your current session. You can change the terminal size, the font, the actions of various keypresses, the colours, and so on.
This system menu option provides a convenient way to copy the whole contents of the terminal screen and scrollback to the clipboard in one go.
The “Clear Scrollback” option on the system menu tells PuTTY to discard all the lines of text that have been kept after they scrolled off the top of the screen. This might be useful, for example, if you displayed sensitive information and wanted to make sure nobody could look over your shoulder and see it. (Note that this only prevents a casual user from using the scrollbar to view the information; the text is not guaranteed not to still be in PuTTY’s memory.)
If you find the title bar on a maximised window to be ugly or distracting, you can select Full Screen mode to maximise PuTTY “even more”. When you select this, PuTTY will expand to fill the whole screen and its borders, title bar and scrollbar will disappear.
For some purposes you may find you want to log everything that appears on your screen. You can do this using the “Logging” panel in the configuration box.
If you find that special characters (accented characters, for example) are not being displayed correctly in your PuTTY session, it may be that PuTTY is interpreting the characters sent by the server according to the wrong character set. There are a lot of different character sets available, so it’s entirely possible for this to happen.
The SSH protocol has the ability to securely forward X Window System applications over your encrypted SSH connection, so that you can run an application on the SSH server machine and have it put its windows up on your local machine without sending any X network traffic in the clear.
The SSH protocol has the ability to forward arbitrary network connections over your encrypted SSH connection, to avoid the network traffic being sent in clear. For example, you could use this to connect from your home computer to a POP-3 server on a remote machine without your POP-3 password being visible to network sniffers.
A lot of Internet protocols are composed of commands and responses in plain text. For example, SMTP (the protocol used to transfer e-mail), NNTP (the protocol used to transfer Usenet news), and HTTP (the protocol used to serve Web pages) all consist of commands in readable plain text.
PuTTY can be made to do various things without user intervention by supplying command-line arguments.
To start a connection to a server called host:
putty.exe [-ssh | -telnet | -rlogin | -raw] [user@]host For telnet sessions, the following alternative syntax is supported (this makes PuTTY suitable for use as a URL handler for telnet URLs in web browsers):putty.exe telnet://host[:port]/ In order to start an existing saved session calledsessionname, use the-loadoption putty.exe -load "session name" If invoked with the-cleanupoption, rather than running as normal, PuTTY will remove its registry entries and random seed file from the local machine. PuTTY and its associated tools support a range of command-line options, most of which are consistent across all the tools. This section lists the available options in all tools. Options which are specific to a particular tool are covered in the chapter about that tool. The-loadoption causes PuTTY to load configuration details out of a saved session. If these details include a host name, then this option is all you need to make PuTTY start a session. To choose which protocol you want to connect with, you can use one of these options:
-sshselects the SSH protocol.-telnetselects the Telnet protocol.-rloginselects the Rlogin protocol.-rawselects the raw protocol.
-v: increase verbosity-l: specify a login name-Land-R: set up port forwardings-m: read a remote command or script from a file-m: read a remote command or script from a file-pw: specify a password-Aand-a: control agent forwarding-Xand-x: control X11 forwarding-tand-T: control pseudo-terminal allocation-C: enable compression-1and-2: specify an SSH protocol version-i: specify an SSH private key



![\eta=\frac{t_{I}}{E\left[t_{T}\right]}=\rho\cdot\frac{t_{I}}{t_{F}}](http://upload.wikimedia.org/math/6/f/7/6f736fb9275ed9bed1ac83f18adf932e.png)
Recent Comments