SSHD Configuration
- vi /etc/ssh/sshd_config
- Port {port number}
- service sshd restart
Firewall Configuration
- vi /etc/sysconfig/iptables
- -A INPUT -m state –state NEW -m tcp -p tcp –dport {port} -j ACCEPT
- service iptables restart
* After changing the SSH port, configure the firewall to allow that port to be used.