SSH (secure shell socket) is a network protocol that provides users, especially system administrators, a secure way to access a computer over an unsecured network. SSH offers a medium for securely accessing your network services and allows users to log into a command line prompt; execute system commands and perform system admin tasks just as if you have direct physical access to the server itself.
TrulyWp provides its users with SSH access on all hosting plans with the ability to run additional tools remotely such as Git, WP-CLI, composer, etc.
CONNECTING TO SSH
To connect to SSH you will need the following:
- username (an SFTP username)
- port number
- Your server IP address
TrulyWp users can find the above information by clicking on the site options tab at the top screen, then click on the SSH/SFTP users option on the left menu pane.
Note: you would need to add an SFTP user likewise an SSH user. You do this by clicking on the respective buttons on the top-right of the page. An options page then comes up for you to fill in your new SFTP and SSH login credentials respectively.
HOW TO CONNECT SSH ON WINDOWS
If you are running on a Windows operating system, you will need a terminal client to connect to SSH.
Step 1: we recommend you download the free PUTTY client. Putty is a free and open-source terminal emulator, network file transfer and serial console application which supports several network protocols like SSH, SCP, rlogin, telnet, and raw socket connection. It enables secure remote access to your server. step2; launch the PUTTY application. Then input your hostname which should be your Trulywp IP address. Also, fill in the port number field with the unique port number. then click open
Step2: launch the PUTTY application. Then input your hostname which should be your Trulywp IP address. Also, fill in the port number field with the unique port number. Then click open
Step3: if it’s your first time making a connection, you will get a rsa2 key prompt. Click on the “yes” option to get a trust check in future connections.
Step 4: you will need to input your Trulywp username to proceed.
Step5: You will need to input your password. Press the enter key to proceed.
Congratulations! You have successfully connected your WordPress site via SSH. You should have an output on the screen, similar to the one below:
From here you can run your WP-CLI commands. You can also use the various CLI commands to perform actions here.
HOW TO CONNECT TO SSH ON MAC/LINUX
The Mac and Linux operating systems come shipped with a built-in terminal. It is a lot easier to connect SSH on both Mac and Linux.
Step1: to open the terminal, Go to Applications >> Utilities. Double click on the terminal.
Step2: input the following commands below: