To change the default SSH port carry out the following:
vim /etc/ssh/sshd_config
Update ‘Port 22’ to any port you like e.g.
Port 2525
Restart SSH
/etc/init.d/ssh restart
Done!
To change the default SSH port carry out the following:
vim /etc/ssh/sshd_config
Update ‘Port 22’ to any port you like e.g.
Port 2525
Restart SSH
/etc/init.d/ssh restart
Done!
Leave a Comment