Connecting with PuTTY: Difference between revisions
No edit summary |
(Marked this version for translation) |
||
Line 2: | Line 2: | ||
<translate> | <translate> | ||
<!--T:1--> | |||
[[File:Putty_basic.png|400px|thumb| Enter hostname or IP address (Click for larger image)]] | [[File:Putty_basic.png|400px|thumb| Enter hostname or IP address (Click for larger image)]] | ||
[[File:Putty_username.png|400px|thumb| Specify username to use when connecting, this is optional as one can type it when connecting (Click for larger image)]] | [[File:Putty_username.png|400px|thumb| Specify username to use when connecting, this is optional as one can type it when connecting (Click for larger image)]] | ||
Line 7: | Line 8: | ||
[[File:Putty_ssh_key.png|400px|thumb| Specifying an ssh key (Click for larger image)]] | [[File:Putty_ssh_key.png|400px|thumb| Specifying an ssh key (Click for larger image)]] | ||
<!--T:2--> | |||
Start up PuTTY and enter the host name or IP address of the machine you wish to connect to. You may also save a settings by entering a session name in the "Save Sessions" text box and clicking the "Save" button. You can set the username to use when logging into a particular host under the Connection->Data section in the Auto-login username text box to saving typing the username when connecting. | Start up PuTTY and enter the host name or IP address of the machine you wish to connect to. You may also save a settings by entering a session name in the "Save Sessions" text box and clicking the "Save" button. You can set the username to use when logging into a particular host under the Connection->Data section in the Auto-login username text box to saving typing the username when connecting. | ||
=X11 Forwarding= | =X11 Forwarding= <!--T:3--> | ||
If working with graphical based programs X11 forwarding should be enabled. To do this go to Connection->SSH->X11 and check the "Enable X11 forwarding" check box. To use X11 forwarding one must install an X window server such as [http://www.straightrunning.com/xmingnotes/ Xming]. Test that X11 forwarding is working by open a session and running a simple GUI based program, such as typing the command <code>xclock</code>. If you see a window popup with a clock, X11 forwarding should be working. | If working with graphical based programs X11 forwarding should be enabled. To do this go to Connection->SSH->X11 and check the "Enable X11 forwarding" check box. To use X11 forwarding one must install an X window server such as [http://www.straightrunning.com/xmingnotes/ Xming]. Test that X11 forwarding is working by open a session and running a simple GUI based program, such as typing the command <code>xclock</code>. If you see a window popup with a clock, X11 forwarding should be working. | ||
=Using a Key Pair= | =Using a Key Pair= <!--T:4--> | ||
To set the private key putty uses when connecting to a machine go to Connection->SSH->Auth and clicking the "Browse" button to find the private key file to use. Putty uses files with a ".ppk" suffix, which are generated using PuTTYGen (see [[Generating ssh keys in Windows]] for instructions on how to create such a key). | To set the private key putty uses when connecting to a machine go to Connection->SSH->Auth and clicking the "Browse" button to find the private key file to use. Putty uses files with a ".ppk" suffix, which are generated using PuTTYGen (see [[Generating ssh keys in Windows]] for instructions on how to create such a key). | ||
</translate> | </translate> |
Revision as of 16:24, 7 December 2016
Start up PuTTY and enter the host name or IP address of the machine you wish to connect to. You may also save a settings by entering a session name in the "Save Sessions" text box and clicking the "Save" button. You can set the username to use when logging into a particular host under the Connection->Data section in the Auto-login username text box to saving typing the username when connecting.
X11 Forwarding
If working with graphical based programs X11 forwarding should be enabled. To do this go to Connection->SSH->X11 and check the "Enable X11 forwarding" check box. To use X11 forwarding one must install an X window server such as Xming. Test that X11 forwarding is working by open a session and running a simple GUI based program, such as typing the command xclock
. If you see a window popup with a clock, X11 forwarding should be working.
Using a Key Pair
To set the private key putty uses when connecting to a machine go to Connection->SSH->Auth and clicking the "Browse" button to find the private key file to use. Putty uses files with a ".ppk" suffix, which are generated using PuTTYGen (see Generating ssh keys in Windows for instructions on how to create such a key).