Connect to your servers using SSH
Sometimes you and your team members need to connect to your servers to run commands from the terminal. Connect via SSH to ensure your servers only executes commands by authorized SSH keys.
- On Devopness, copy the IP Address of the server you want to connect
Follow the Find your Server IP Address guide
- On your local machine, in a terminal window, use the
ssh
command to connect to the serverssh devopness@<server IP address copied in previous steps>
This should give you shell access to your remote server hosted at the IP address, logged in as user
devopness
If you receive aConnection refused
error, please follow the Add an SSH key guide - Test your SSH connection running simple commands on your server, e.g:
whoami
orls
- When you are finished with your remote server terminal usage, run the
exit
command to close the SSH connection.