Need to know how to use PuTTY?
SSH, or Secure Shell, is a secure protocol for connecting to a remote server. To establish an SSH connection, you will need an SSH client application like PuTTY.
In this guide, you will learn how to use the terminal PuTTY SSH to log into your accountaccommodation or to a virtual private server. This way, you can access and manage your remote machine by running various commands.
But before we start, if you have never installed WordPress, find out How to Install a WordPress Blog in 7 Steps et How to search, install and activate a WordPress theme on your blog
Then back to why we are here.
How to download PuTTY
PuTTY is most commonly used on Windows, however, it is also available on Linux and Mac. Here is how you can get PuTTY download on different operating systems.
Windows
Download the latest version of PuTTY SSH from the Official website. After that, install it on your computer. It's as simple as that.
Linux
Most people use OpenSSH pre-installed on Linux, however, PuTTY on Linux is used more for debugging, connecting to serial ports and raw sockets.
On Debian, use the following command:
sudo aptitude install putty
Tool Installation Order Tracking:
sudo aptitude install putty-tools
macOS
Like Linux, macOS comes with a command-line SSH client already installed. But to download PuTTY, open the terminal window and use the commands below.
To install PuTTY for mac:
brew install putty (or) port install putty
Setup Requirements
Next, you will need a bit of information before you can start using PuTTY. You will need:
- Server IP address
- SSH port
- The SSH username
- The SSH password
How to connect PuTTY
- Launch the PuTTY SSH client, then enter the SSH IP address and SSH port of your server. Click on the button Open to continue.
- Un login message as: will appear and ask you to enter your SSH username. For VPS users, this is usually from root. However, for users ofaccommodation shared, you will need to enter a predefined username like u721233450. After entering your username, press enter.
- Type your SSH password and press press enter again. For security reasons, the screen will not show the password but will record what you type.
Congratulation ! You have successfully logged into your account using the PuTTY SSH client. You can list all available SSH commands by running ugly via the terminal.
How to use PuTTYgen
PuTTYgen is a tool that creates public and private key pairs. PuTTY stores these key authentications in its files in .ppk format. With Windows, you will use the graphical tool PuTTYgen.exe, while with Linux you will use the command line.
To get started, locate PuTTY and open PuTTYgen.
To create a new key pair, click the button Generate at the bottom and start moving your mouse around the window. Keep moving your mouse until the green progress bar is full.
When done, your public key will appear in the window.
It is recommended to use a passphrase as well as save your private key.
Install the public key on the server
To grant access to an account, you need to add the new public key to the file named
~/.ssh/authorized_keys.
First, install the public key. Then connect to your server and locate the file authorized_keys. Edit the file and insert the new public key into the file. Save the file and test to see if the connection works.
Other recommended resources
We also invite you to consult the resources below to go further in handling and controlling your website and blog.
- Using different backgrounds WordPress
- Elementor: How to Add a Button Sound Effect
- How to create custom templates on WordPress
- How to set your homepage in WordPress
Conclusion
That's it for this tutorial. We hope this article will help you to use the client PuTTY to log in to your accountaccommodation. If you have any concerns or suggestions, please let us know within Comments.
However, you will also be able to consult our resources, if you need more elements to carry out your projects of creation of Internet sites, by consulting our guide on the WordPress blog creation or the one on Divi: the best WordPress theme of all time.
Waiting, share this article on your different social networks.
...