Difference between revisions of "PuTTY"

From Coder Merlin
 
(8 intermediate revisions by 3 users not shown)
Line 2: Line 2:


PuTTY is an SSH and telnet client that runs on Windows, Linux and UNIX. This terminal emulator establishes a TCP/IP connection and works with multiple network protocols.
PuTTY is an SSH and telnet client that runs on Windows, Linux and UNIX. This terminal emulator establishes a TCP/IP connection and works with multiple network protocols.
{{Tip|Did you know that the '''TTY''' in Pu'''TTY''' is a UNIX terminal command that prints the name of the terminal you're connected to? It's derived from the word '''T'''ele'''TY'''pewriter. }}
{{Hint|Did you know that the '''TTY''' in Pu'''TTY''' is a UNIX terminal command that prints the name of the terminal you're connected to? It's derived from the word '''T'''ele'''TY'''pewriter. }}




== How to Install Putty on Windows ==  
== How to Install Putty on Windows ==  
== Step 1: Download the installation package==  
== Step 1: Download the installation package==  
Launch your favourite browser and download Putty from the official site.  
Launch your favourite browser and download Putty from the official site
[https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html www.chiark.greenend.org.uk/~sgtatham/putty/latest.html]


https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html
Click <code>putty-version-installer.msi</code> if you're on a 32-bit computer or
We will be downloading the windows installer (.MSI)
<code>putty-64bit-version-installer.msi</code> if your PC has a 64-bit processor.
[[File:32bit 64 bit.png|center]]


Click putty-version-installer.msi if you're on a 32-bit computer or
putty-64bit-version-installer.msi if your PC has a 64-bit processor
[[File:32bit 64 bit.png|center]]


{{Tip|
{{GoingDeeper|
Tip: All newer (>2015) computers have a 64-bit processor except for the budget ones.
Tip: All newer (>2015) computers have a 64-bit processor except for the budget ones.
You can determine whether your PC is 32-bit or 64-bit by right-clicking on the (This PC/my computer) icon on your desktop and choosing properties.  
You can determine whether your PC is 32-bit or 64-bit by right-clicking on the (This PC/my computer) icon on your desktop and choosing properties.  
Line 24: Line 23:
You must have administrative privileges to install PuTTY.
You must have administrative privileges to install PuTTY.
Launch the installer by double-clicking the downloaded file.
Launch the installer by double-clicking the downloaded file.
Click "Next" throughout the wizard to Install PuTTY with all the default(recommended) options. You may change the installation directory. You can choose whether to create a desktop shortcut and associate PuTTY with .ppk files (private keys for connecting securely to other computers). These options are enabled by default
Click "Next" throughout the wizard to Install PuTTY with all the default (recommended) options. You may change the installation directory. You can choose whether to create a desktop shortcut and associate PuTTY with .ppk files (private keys for connecting securely to other computers). These options are enabled by default.
 
 
[[File:Step 1 installing putty.png|center]]
[[File:Step 1 installing putty.png|center]]
[[File:Installation directory.png|center]]
[[File:Installation directory.png|center]]
[[File:Installing putty.png|center]]
[[File:Installing putty.png|center]]
You may get this prompt depending on your current UAC settings. Click "Yes"
 
 
You may get this prompt depending on your current UAC settings. Click "Yes".
[[File:UAC prompt.png|center]]
[[File:UAC prompt.png|center]]
The installer will run for a few seconds.
 
Untick "view the README file" and click "Finish"
 
The installer will run for a few seconds. Untick "view the README file" and click "Finish"
 
[[File:Finish.png|center]]
[[File:Finish.png|center]]
== [OPTIONAL] Step 3: launching PuTTY==  
 
Run PuTTY by double-clicking on it's newly created desktop shortcut or by searching "PuTTY" o the Start Menu.
Congratulations!  You've just installed PuTTY.
You've just installed PuTTY.
== [OPTIONAL] Step 3: Launching PuTTY==  
Run PuTTY by double-clicking on its newly created desktop shortcut or by searching "PuTTY" on the Start Menu.
 
[[File:Putty running.png|center]]
[[File:Putty running.png|center]]
== [OPTIONAL] Step 4: Using 256 Color On PuTTY ==
By default PuTTY is only 8 colors. The CoderMerlin Shell supports 256 Colors. We can tell PuTTY to connect using all the colors so we can have nice Syntax Highlighting.
[[File:Putty8Colors.png|frame|center|PuTTY 8 colors]]
[[File:Putty256.png|frame|center|PuTTY in 256 color]]
On the Profile that you have created for CoderMerlin Login, Under Connection on the left side bar, Click on Data.
On the Page that opens, you ware going to change the setting, Terminal-type string, to be xterm-256color.
This will change the connection type and you will have access to all the colors. Make sure you then save your Profile.
[[File:Putty-256color-Settings.png|frame|center|PuTTY Settings Page for 256 Color]]
== [OPTIONAL] Step 5: Changing the font on PuTTY in order to show missing Unicode characters ==
Start by opening the PuTTY application and selecting the 'Appearance' tab.
[[File:Puttyfont1.png|frame|center]]
Once you are on the 'Appearance' tab, click on the 'Change' button.
[[File:Puttyfont2.png|frame|center]]
Once you click the 'Change' button you will be confronted with a list of different font styles and scaling options.
[[File:Puttyfont3.png|frame|center]]
Choose a font, I suggest @SimSun-Ext B, and then click 'OK'.
Now you have a new font that can fit your exact needs.
<!-- Categories -->
{{#set: Has primary media type=Text }}
[[Category:SSH clients]]

Latest revision as of 12:55, 8 September 2021

Within these castle walls be forged Mavens of Computer Science ...
— Merlin, The Coder

Introduction[edit]

PuTTY is an SSH and telnet client that runs on Windows, Linux and UNIX. This terminal emulator establishes a TCP/IP connection and works with multiple network protocols.

Hint.pngHelpful Hint
Did you know that the TTY in PuTTY is a UNIX terminal command that prints the name of the terminal you're connected to? It's derived from the word TeleTYpewriter.


How to Install Putty on Windows[edit]

Step 1: Download the installation package[edit]

Launch your favourite browser and download Putty from the official site: www.chiark.greenend.org.uk/~sgtatham/putty/latest.html

Click putty-version-installer.msi if you're on a 32-bit computer or putty-64bit-version-installer.msi if your PC has a 64-bit processor.

32bit 64 bit.png


Going DeeperGoingDeeperIcon.png

Tip: All newer (>2015) computers have a 64-bit processor except for the budget ones. You can determine whether your PC is 32-bit or 64-bit by right-clicking on the (This PC/my computer) icon on your desktop and choosing properties.

Computer bit.png

Step 2: Installing PuTTY[edit]

You must have administrative privileges to install PuTTY. Launch the installer by double-clicking the downloaded file. Click "Next" throughout the wizard to Install PuTTY with all the default (recommended) options. You may change the installation directory. You can choose whether to create a desktop shortcut and associate PuTTY with .ppk files (private keys for connecting securely to other computers). These options are enabled by default.


Step 1 installing putty.png


Installation directory.png


Installing putty.png


You may get this prompt depending on your current UAC settings. Click "Yes".

UAC prompt.png


The installer will run for a few seconds. Untick "view the README file" and click "Finish".

Finish.png

Congratulations! You've just installed PuTTY.

[OPTIONAL] Step 3: Launching PuTTY[edit]

Run PuTTY by double-clicking on its newly created desktop shortcut or by searching "PuTTY" on the Start Menu.

Putty running.png

[OPTIONAL] Step 4: Using 256 Color On PuTTY[edit]

By default PuTTY is only 8 colors. The CoderMerlin Shell supports 256 Colors. We can tell PuTTY to connect using all the colors so we can have nice Syntax Highlighting.

PuTTY 8 colors
PuTTY in 256 color

On the Profile that you have created for CoderMerlin Login, Under Connection on the left side bar, Click on Data.

On the Page that opens, you ware going to change the setting, Terminal-type string, to be xterm-256color.

This will change the connection type and you will have access to all the colors. Make sure you then save your Profile.

PuTTY Settings Page for 256 Color

[OPTIONAL] Step 5: Changing the font on PuTTY in order to show missing Unicode characters[edit]

Start by opening the PuTTY application and selecting the 'Appearance' tab.

Puttyfont1.png

Once you are on the 'Appearance' tab, click on the 'Change' button.

Puttyfont2.png

Once you click the 'Change' button you will be confronted with a list of different font styles and scaling options.

Puttyfont3.png

Choose a font, I suggest @SimSun-Ext B, and then click 'OK'. Now you have a new font that can fit your exact needs.