C ontrol a Server with SSH

Control a Server with SSH

Need to manage a server without sitting right in front of it? You can do that easily using SSH (short for Secure Shell), a network protocol that lets you securely access another computer over a network.

In this guide, I’ll show you how to remotely control a server from a client computer using SSH. Here’s the basic flow:


Steps to Remotely Access a Server with SSH

  1. Login to the server The server IP address in this example is 10.252.108.76.

    Screenshot 1
  2. Login as root user

    Screenshot 2
  3. Check the server’s current IP address

    Screenshot 3
  4. Update the server

    Screenshot 4
  5. Check memory usage

    Screenshot 5
  6. Check hard drive space

    Screenshot 6
  7. View disk partitions

    Screenshot 7
  8. Check CPU status

    Screenshot 8
  9. View the default gateway

    Screenshot 9
  10. Change the server’s IP address To do this, edit the file located at /etc/network/interfaces.

Screenshot 10
  1. Confirm the new IP address Once it’s changed, you’ll see the updated IP.
Screenshot 11

That’s it! You’ve just managed a server remotely using SSH. 🚀
Great for updates, monitoring, and quick fixes without needing physical access.