Step 1: Download PuTTY
If you don't already have PuTTY installed, you can download it from the official PuTTY website: PuTTY Download.
Step 2: Launch PuTTY
After downloading and installing PuTTY, open the application.
Step 3: Configure the Connection
-
In the PuTTY window, enter the IP address or hostname of your VPS server in the "Host Name (or IP address)" field. For example:
123.45.67.89
orexample.com
. -
Set the "Port" to 22 (SSH default port).
-
Under "Connection type," make sure "SSH" is selected.
Step 4: Authentication
-
On the left-hand side, under "Category," click on "SSH."
-
Click on "Auth."
-
Click "Browse" to select your private key if you're using key-based authentication. If you're using a username and password, skip this step.
Step 5: Connect
-
Once you've entered all the necessary information, click "Open" to start the session.
-
If you're using a key, you'll be prompted for the key's passphrase. Enter it and press "Enter." If you're using a username and password, you'll be asked to enter your username and password.
-
If the information is correct, you should be successfully connected to your VPS server via SSH.
Step 6: Working with the VPS Server
Now that you're successfully connected to your VPS server, you can work with it through the command line. You can install software, configure the server, transfer files, and perform many other tasks.
When you're finished working on the server, you can simply close the PuTTY session to log out.