Secure Shell (SSH) is a more secure and popular network protocol that delivers secure communication over an unsecured network, such as the Internet. SSH is primarily used for remote login and command-line execution on remote machines but it can also be used for securely transferring files from one system to another just like FTP. So in this case you can say that SSH is a more secure version of FTP.
After you subscribe to a VPS or Dedicated Server, you can transfer files and backup using SSH and for that, you will need to follow a few general steps to connect your server via SSH Secure Shell using a local client. This is needed to transfer, backup, or upload your web/app files, etc.
SSH is a cryptographic network protocol for operating network services securely. Since it is a method for doing a secure remote login from one device to another, here, the two devices are your local machine i.e. your computer, and your server i.e. your VPS or Dedicated Server.
Now following are the exact steps to make a connection via SSH but a few things may depend on the SSH client you use. If you don’t use Linux Terminal then you may use PuTTy for Windows, or Terminal on a MacOS machine.
Before you start with the SSH login you will need to obtain this info:
- Your domain name or IP address
- Your primary FTP username
- Your primary FTP password
For security reasons, your dedicated server is provisioned with disabled admin/root access. But you can enable it by following these steps:
- Login to your Sangkrit.net account
- Navigate to your My Products page
- Click Servers
- Next to the Generation 4 server, click Manage
- Select Settings from the top of the page in your account dashboard
- In the access section, next to the admin access, click Manage
- Select Enable Admin Access (this is actually root account sudo access)
- Now click Save
- Admin access is now enabled
Next, Establish a connection:
Launch your SSH client, enter the host i.e. your domain name or IP address, and your SSH port number (which by default is 22) to establish the SSH connection.
Now you will be asked to enter the FTP details. As prompted for that, enter your primary FTP username and password and click GO or whatever action button is there in your client. That’s it. Your client will now make a connection.