Connect to Your Machine via SSH
A step-by-step guide to accessing your server securely using SSH.
Updated on 01/07/2024
Most operating systems come with a built-in SSH client:
root
or a specific user.Open your terminal or SSH client and use the following command:
ssh username@your-server-ip
Example:
ssh [email protected]
If using a custom SSH port, specify it like this:
ssh -p 2222 username@your-server-ip
chmod 600 ~/.ssh/id_rsa
On first connection, SSH may prompt you to verify the server’s fingerprint. Type yes
to proceed.
Once connected, you can execute commands directly on your server. Remember to log out by typing:
exit
sudo journalctl -u sshd
Founded in 2023, ViperHost offers top-tier hosting solutions
tailored for diverse digital needs. We provide reliable VPS, web
hosting, and game server services, equipped with advanced anti-DDoS
protection and hosted in our state-of-the-art data center. Enjoy
unparalleled performance and security with ViperHost.
©️ViperHost LLC, All Rights
Reserved.