Unleash Your Server Potential with Expert Insights
Over $120 Million in Payouts!Sponsored by: FundingTicks
Sponsored by: FundingTicks
Category: VPS Setup
nano /etc/ssh/sshd_config
Port 2222
to avoid common scans PermitRootLogin no
to disable root access and PasswordAuthentication no
for key-only logins Generate keys locally withssh-keygen -t rsa -b 4096
ssh-copy-id user@ip -p 2222
systemctl restart sshd
ssh -p 2222 user@ip