After you purchase a VPS or Dedicated Server, 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.
What is Secure Shell SSH? Secure Shell i.e. SSH is a cryptographic network protocol for operating network services securely. 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 the steps given here are the exact steps for making 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, To 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.