How to connect remotely via SSH to a Linux server

Most Linux distributors have a SSH client installed By default it can be accessed from the terminal, so you can use it normally without having to meet excessive requirements.

Furthermore, you will not need to have additional advanced features to use it, but you can use it normally and connect to an SSH server without having to download any additional programs. It is also possible to create an SSH server on my Android for free

You may want to learn how to use this SSH client from your computer, but even if you've tried it more than once, you can't figure out how to do it.




You want to know how to connect from remote through SSH on a Linux server? Then this article is for you. Stay and read it because we will show you how to do it.

What is SSH?

How to connect remotely via SSH to a Linux server

It is a protocol for secure access and other secure network services within a secure network. That is, a safe way to access your computer.

With this you can establish advanced environments, use sites like WP-CLI to automate WordPress activity and so on. To enter your site you will need to have two things, an SSH client and login information. You will surely be interested in knowing how to install and use WordPress locally with MAMP

How will having an SSH client help you on Linux?

using OSX and Linux you will have access to everything you need to perform this procedure. You can use the SSH client from the terminal without having to use special software. In case you are using Windows, you will need to have an SSH client to perform this process, the most popular being Putty.



What are the access data?

To run the login process via SSH you need to have certain information such as server address, username, password and port.


This server address is usually your domain or an IP. There are times when the port is required by default, so you may not need to specify it.

What's the problem with the command?

How to connect remotely via SSH to a Linux server

This step will work whether you are using a PC with a Linux operating system or whether you are using a Mac or a Windows system, obviously in the latter case you will need to download Putty and you will have to do a little process first.

You will now be able to log in or have the ability to enter commands, as you normally would from terminal of your computer.

Using WP-CLI

When we talk about WP-CLI we mean a command line interface for WordPress which also gives you the opportunity to have a variety of tools.

So with this in mind, you will need to download and install this interface. Once you have WP-CLI and got it working, you can start entering commands.

Doing this isn't very complicated, you'll just have to switch to a desktop with WordPress previously installed. If you are not sure where it is, you can type the ls command so that it can show you the contents of its current directory on the screen.


In case you are using a server Who, then you should go to the root directory of the site. You will need to access the public directory using cd public so that you can access the WordPress root directory. You have to write wp plugin list and in this way you will have a list of all the plugins available for this site.


In case you want to use something more useful, you have the option to use the wp plugin update - all with this you can update all plugins at the same time. Or you could use wp plugins update – all –dry-run with which you can have a list of plugins that can be updated if you run the first command.


But these are not the only commands you can execute with WP-CLI that are quite useful, you just have to go to the Documentation and you will be able to find all the information you need.

You will be able to do almost anything. You will have the opportunity to use tools such as Git, Composer, WP-CLI and many others which will help you have more control over your sites and distribution environments.

add a comment of How to connect remotely via SSH to a Linux server
Comment sent successfully! We will review it in the next few hours.