Change default port of SSH in Linux
- By Preneesh AV --
- 05-Jun-2018 --
- 55 Comments
#vi/etc/ssh/sshd_config
port 653
Esc key & :wq will save the vim editor
Restart the ssh server with the following command give semanage to allow tcp connection on port 653
#service sshd restart
#semanage port -a -t ssh_port_t -p tcp 653