Consejos para el desarrollo Web, estrategias de marketing y novedades de A2 Hosting enviadas a su email.
This article describes how to connect to your A2 Hosting account securely using SSH.
Secure Shell (SSH) is a protocol that provides secure command-line access to your A2 Hosting account. By using SSH, you can remotely log in to your A2 Hosting account and run commands as if you were sitting right at the server. Please note that SSH is the only protocol that A2 Hosting supports.
With its simplified interface, the command line allows you to perform tasks with text commands. You'll also find that SSH is a time-saving solution that can ultimately help speed up many tasks. You can also do tasks that you cannot do with your account's included hosting control panel.
An SSH connection is really as simple as creating a secure connection between two computers. SSH is able to provide a safe, encrypted connection between the client and the server through this encrypted tunnel. From here, you can easily transfer files between the connected machines or run programs and commands that would otherwise require more complicated screen sharing solutions. It is as if you were right in front of your server, in the data center where it is located.
Just as you need an FTP client to manage files with FTP, you need to install an SSH client on your computer to make an SSH connection. Putty and WinSCP are popular SSH solutions for Windows users. Both Linux and macOS have built-in terminals, so it is not necessary to download an SSH client. Our step-by-step SSH account access instructions, outlined below, will help you access your account remotely.
To find this information, please first log in to the A2 Hosting Customer Portal. It can be found at:
Click on your plan, which is located under the orange Your Active Products/Services section as shown in the screenshot below:
Click anywhere on your package. This will take you to the Manage page. The Manage page contains all the technical information you need for SSH, such as your IP Address, your SSH Port, your Username, and your Password:
For more information about how to use the Customer Portal, please see these articles.
Follow the appropriate procedure below for your computer's operating system.
Any SSH client can be used, but for the purposes of this demonstration, we will be using PuTTY, which you can download here. To connect to your account using PuTTY, follow these steps:
[email protected] [~]#
Both macOS and Linux include SSH clients, so connecting to your A2 Hosting account on these operating systems is easy. You do not have to download a special client.
To connect to your account, follow these steps:
At the command prompt, type the following command. Replace username with your A2 Hosting username, and example.com with your site's domain name:
ssh -p 7822 firstname.lastname@example.org
Type your password when you are prompted to do so.
When the remote server's command line prompt appears, you are connected. The initial command line prompt is:
[email protected] [~]#
To close the SSH connection when you are done, type exit and then press Enter.
In the command in step 2, we explicitly specify the port number, the username, and the hostname. However, you can also define these settings for a remote host in your ~/.ssh/config file as follows:
Host example Hostname example.com Port 7822 User username
The Host value can be any name you want; it is simply a label for the other settings. The Hostname value is the remote host you want to access, the port number is 7822, and the User value specifies your A2 Hosting account username. With this configuration defined, you can connect to the account by simply using the Host value. You do not have to type the port number, username, and hostname each time. The following command demonstrates how to do this:
Now that you’ve successfully logged into SSH, you can deploy SSH keys to your account. A2 Hosting has an article, How to access your account using SSH keys, that walks you through the process. Another article of note, How to configure SSH keys using cPanel, shows you how to deploy SSH keys using cPanel. The possibilities are endless when you use SSH.
If you need assistance or have a question regarding setting up SSH, please open a ticket on the Customer Portal at https://my.a2hosting.com and one of our Guru Crew will be glad to help you.
Subscribe to receive weekly cutting edge tips, strategies, and news you need to grow your web business.
No charge. Unsubscribe anytime.
Usamos cookies con el fin de personalizar para usted nuestro sitio Web y analizar el uso de éste. Usted acepta esto haciendo clic en “Acepto” o al continuar usando el sitio Web. Hay más información sobre cookies en nuestra política de privacidad.