The following guide shows how to log in to a Linux server via SSH, this is the main method of accessing a Linux server remotely.
First, open your terminal application depending on your system.
On Windows -
Open Command Prompt
On macOS/Linux -
Open the Terminal application
To begin, type the below command into the terminal window.
ssh username@your_server_ip_or_hostnameReplace username with the actual username on the remote server you want to log in as, generally this will be ‘root’ unless you’ve created specific user accounts.
Replace your_server_ip_or_hostname with the IP address or hostname of your remote server.
If you get prompted for a password, then you will need to use the credentials for the relevant server from your MySAU portal.
The server will likely have password authentication enabled by default. However, any users who will be accessing the server frequently can add their public key to avoid needing to input a password each time they wish to log in to the server.
The below article explains how to add your public key and modify the SSH configuration file to accept public key authentication.
How to set up Key Based Authentication
To exit out of a remote SSH session, you can simply type exit in terminal to return to your local computer session.