Making an SSH connection on Linux from Windows.

shape
shape
shape
shape
shape
shape
shape
shape

In today’s tutorial, I’m going to show you how to remotely connect to Linux servers using the SSH password protocol. This type of connection is relatively easy to make. In just a few steps, you can connect to your remote server using SSH.

I’m going to show you two different ways to connect to your remote Linux server, the first is using a well-known piece of software called PuTTY, and the second is using Windows’ own Command Prompt.

To connect using the PuTTY software, we first need to download and install it. You can download it from the following link: https://www.putty.org/ this is the official PuTTY site, and its license is open source, i.e. free.

Download it by clicking on the “You can Download PuTTY here” box on the next page, choose the installer according to your operating system, in my case, Windows 64-bit.

After downloading, run the PuTTY installer, the installation is very simple, first click next, then choose the installation location which can be the default directory, click next again, and finally the features that will be installed, click Install and wait for the installation to finish.

Open PuTTY, and in the screen that appears, enter the ip of the remote server in field number 1, the default port is 22, in field number 2, make sure the SSH option is checked, in field number 3, enter a name for your connection, click on Save to save this information for future connections, then click open, as shown in the image below.

After clicking open, a terminal screen will open, enter your operating system credentials to log in, first the user, then the password. Linux, for security reasons, doesn’t display the characters you type when you type your password, but don’t worry, your password is being typed in. Once you’ve finished typing your password, press Enter to log in.

After typing Enter, if your credentials were correct, you will be connected to your server, as shown in the image below.

The second way is even easier and doesn’t require downloading or installing any software. First, on your Windows system, open the command terminal, type in the search field of the start menu “Command Prompt” and open it as shown in the image below.

With the command prompt open, type the following command:

ssh [email protected]

Where root is the user of the machine and ip is the ip of your remote server, then simply type “yes” when asked if you want to continue, type in your password (remember that, as with PuTTY, you won’t be shown the characters when typing in the password), after typing in the password, press Enter, and you’ll be connected to your remote server.

Ready!

Leave a Reply

Your email address will not be published. Required fields are marked *

Latest news

Latest news directly from our blog.