This article describes how to connect to your ViniHost account securely using SSH.
Secure Shell (SSH) is a protocol that provides secure command-line access to your ViniHost account. By using SSH, you can remotely log in to your ViniHost account and run commands as if you were sitting right at the server.
SSH is the only protocol that ViniHost supports for access to the command line. For security reasons, we do not support telnet.
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. For example, you can do tasks that you cannot do with your account's hosting control panel.
An SSH connection creates 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 an SSH client on your computer to make an SSH connection. PuTTY and WinSCP are two 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 the SSH connection details for your account, log in to the ViniHost Customer Portal at Client Portal.
For more information about how to use the Customer Portal, please see these articles.
Once you have the connection details for your account, you are ready to use an SSH client to connect to the server. Follow the appropriate procedure below for your computer's operating system.
You can use any SSH client, but we will show how to use PuTTY, which you can download here. To connect to your account using PuTTY, follow these steps:
username@example.com [~]#
ls
, and then press Enter.exit
and then press Enter.Both macOS and Linux include SSH clients, so connecting to your ViniHost account on these operating systems is easy. You do not have to download a special client.
To connect to your account, follow these steps:
username
with your ViniHost username, and example.com
with your site's domain name:ssh -p 7822 username@example.com
username@example.com [~]#
ls
, and then press Enter.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 ViniHost 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:
ssh example