Puttygen documentation

Spread the love

Where to download PuTTY?

We download on the official website, the program is free. Do not be intimidated by the design of the site (or rather its absence) this is a very popular program among webmasters that does not steal data and does not cause any harm. Hosting providers with SSH support recommend using PuTTY to work with a web server.

How to configure PuTTY correctly?

1. Run without installation

After you download the program from the official site, you do not need to install it. Just run the file PuTTY.exe and see this window:

PuTTY setup

2. Find settings

Usually the hosting provider sends the settings for access to the server via the SSH protocol, but it is important that you check the availability of this service from your hoster. When you have settings go to filling in the required fields:

3. Enter the settings and connect

Host Name (or IP-address) host name or IP-address, which are sent in the settings from the hoster.

Port we put 22.

Saved Session enter any name for the session and click “Save” (“Open” is still too early to press). Next in the left column, select the SSH tab and see the following:

PuTTYgen download: SSH setup

We don’t touch anything here, but in the Preferred SSH protocol version field, select 2 only (on some hosting sites, you can simply leave 2). To connect to the server click “Open”.

After this, a black screen should appear with the inscription “Login as”. Enter your login but be aware that when you enter it, the screen remains black. Those. nothing happens on it, so when you finish entering the login, just press Enter. Then you will be asked to enter the password in the same way. Ifeverything has been configured correctly, then you will see the server command line in front of you. Accordingly, it is necessary to enter commands.

Important PuTTY Commands

We look at the wide list of commands in a separate article, and we describe the most important ones here:

team name –help will show full information about the team and what it does;

mc launches Midnight Commander (file manager);

ls will show files on the server;

ls la will show all files on the server (even hidden ones) size owner file rights change date;

cd directory go to the specified directory;

cd back up to the directory;

mv rename move file;

rm delete the file;

cp copy;

chmod change permissions on a folder or file; cat file name shows the contents of the file;

mkdir create a folder.