How to Manage Your Dedicated Server via SSH
Managing your dedicated server via SSH gives you full control over your system.
Step 1: Connect via SSH
- Windows: Use PuTTY or Windows Terminal
- Mac/Linux: Use the built-in Terminal
ssh root@your-server-ip
Enter your password when prompted. If you're using a key pair, make sure your private key is specified.
Step 2: Change Default SSH Port (Optional)
nano /etc/ssh/sshd_config
Change the Port
from 22
to something like 2222
, and restart SSH:
systemctl restart sshd
Step 3: Useful Commands
uptime
– Check server loadtop
– Real-time processesdf -h
– Disk usagereboot
– Reboot the server
Security Tip: Use fail2ban
or csf
to secure your server from brute-force attacks.