netstat -ntpl | grep ssh
iptables-save | grep 332
hi,
where do I find the settings for ssh?
within /etc/ssh/ssh_config port is set to 22 whereas in reality it's custom value 332
where can I change it?
thanks
sudo cp /etc/ssh/sshd_config /etc/ssh/sshd_config.bak`date +%F`
sudo chmod a-w /etc/ssh/sshd_config.bak
cd /etc/
vi /etc/ssh/sshd_config
sudo service sshd restart