본문 바로가기
  • Computer & Rose
IT World

[Eng][IT World] PuTTY Installation and Usage

by 컴앤로즈 2024. 12. 7.
반응형

Today, I'm going to post about a program called PuTTY. It's a somewhat unfamiliar program to the average person who  doesn't remotely connect to a server. However, for those who host webs or set up servers and connect directly to servers, PuTTY is the most common, easiest, and free program.

 

● What is PuTTY?

PuTTY, as mentioned earlier, is a remote access tool used to access web hosting or Linux servers. In other words, PuTTY is a client program for network protocols such as SSH, Telnet, rlogin, and raw TCP. It is open source, so it is lightweight and can be downloaded for free from the official website for individuals and companies alike. It is mainly used when connecting using the SSH protocol.

 

▶TIP,

  • SSH Protocol: The SSH (Secure Shell) protocol is a protocol for secure communication over a network, using encryption technology to provide secure data transmission. It is mainly used to log in to a remote system or transfer files.  SSH basically provides a text-based command line interface.
  • Linux: An open source Unix-based operating system that runs on a variety of hardware platforms. Linux is known for its stability, security, performance, and expandability, and there are various distributions. Major Linux distributions include Ubuntu, CentOS, Debian, Fedora, and Rocky Linux.
  • Remote access using SSH: When connecting to a remote system using SSH, a client program is used. Commonly  used programs include PuTTY, SecurcCRT, and MobaXterm.

● Download and run PuTTY

Download the PuTTY program from the site below. Click Download PuTTY at the top.

https://www.putty.org/

 

Download the one that matches your system (I downloaded it for Windows 64-bit).

 

After installation, run PuTTYgen from the Windows Start program as shown below to create a key file.

 

Key file is a file used for secure connection to Linux server. It is used not only for ssh connection but also for sftp, etc. You can register it when creating an instance. Run Key Generator as follows.

 

 

Copy the entire Key file generated below and save it as a text file (to be used when creating a server later), and click 

Save private key to save the ppk file. This file is required for remote access using PuTTY.

 

▶Here, briefly,

 

  • Generate ppk file: If you have created a server instance and saved key and pub files, you can create a ppk file using PuTTYgen.
  • You can create a ppk file by clicking Conversions → Import key → Save private key in order.
  • Now, you can use the generated ppk file to connect securely in PuTTY.

You can create a Key file using the following method.

 

● How to use PuTTY

 

When you run the PuTTY program, it will appear as shown in the image below. Enter the server IP address or domain in Host Name. Since Port 22 is used for SSH connection with the server, you can leave Port 22 as it is.

 

Next, load the key file created for secure connection as shown below.

 

 

Return to the Session tab to reconnect, check your account ID and domain (IP address), and enter your account information in Saved Sessions so that the values ​​entered for future connections are saved, and click Save. From then on, when you connect, your account information will be saved, so you can click and use it right away. Click the Open button below to connect.

 

 

Finally, you will be able to connect without any problems as shown below.

 

 

 

This concludes my post on using PuTTY. Thank you for reading. ^^

 

반응형

댓글