How to secure your SSH login and prevent unauthorized access

Securing your SSH connection is vital to protect your data .

  • SSH Keys: Use SSH Key pairs (Public/Private) instead of passwords. This makes it nearly impossible for hackers to brute-force your login .
  • Change Default Port: Change the default port from 22 to a custom number to hide from automated bot attacks.
  • Disable Root Login: On VPS/Dedicated servers, disable direct root login and use a sudo user instead.
  • 2FA: Whenever possible, enable Two-Factor Authentication (2FA) for your Hostaday account to add an extra layer of defense .
Was this answer helpful?

Related Articles

What is SSH (Secure Shell)?

SSH (Secure Shell) is a network protocol that provides a secure way to access and manage your...

Do you provide SSH? If yes, under what conditions?

Yes, Hostaday provides SSH access across various hosting plans : Shared Hosting: SSH is...

How to find information about Linux commands via SSH

When logged into SSH, you can access built-in documentation for thousands of commands : Man...

How to run a CXS scan via SSH for malware detection

CXS (ConfigServer eXploit Scanner) is a powerful tool provided by Hostaday for proactive malware...