SSH (OpenSSH) 10 · Server (sshd)

Change the SSH port

Move sshd to another port. Open the new port in the firewall before restarting.

Port 2222

Official SSH (OpenSSH) 10 documentation

More server (sshd) commands

All server (sshd) commands · SSH (OpenSSH) 10 cheatsheet

Was this page helpful?