How to Access VPS Using SSH
SSH (Secure Shell) allows you to securely connect to and manage your VPS server remotely.
Requirements
Before connecting, ensure you have:
-
VPS IP Address
-
Root Username
-
Root Password or SSH Key
Example:
IP Address: 203.0.113.10
Username: root
Windows Users
Using PuTTY
-
Download and install PuTTY.
-
Open PuTTY.
-
Enter your VPS IP Address.
-
Port: 22
-
Connection Type: SSH
-
Click Open.
When prompted:
Login as: root
Enter your password.
Linux & macOS Users
Open Terminal and run:
ssh root@YOUR_SERVER_IP
Example:
ssh root@203.0.113.10
Enter your password when requested.
Basic Commands
Check system information:
uname -a
Check disk usage:
df -h
Check memory usage:
free -m
Update Ubuntu:
apt update && apt upgrade -y
Restart server:
reboot
Security Recommendations
-
Change the default root password.
-
Create a non-root administrator account.
-
Configure a firewall.
-
Disable password authentication when using SSH keys.
-
Keep your operating system updated.
Troubleshooting
If SSH connection fails:
-
Verify Port 22 is open.
-
Confirm the server is online.
-
Check firewall settings.
-
Verify your IP is not blocked.
For assistance, contact JKReseller Support.