Securing OpenSSH: change ssh listen port from port 22/tcp to something more random
Warning: Remember the ssh port you’ve chosen, otherwise you’ll no longer be able to connect! If using a firewall be sure to open/forward the newly set ssh port! Otherwise you’ll also be locked out! Change the ssh listen port from default (22/TCP) to something random Open /etc/ssh/sshd_config and change: #Port Read more…