Changing SSH default port from 22 to 8080
807559May 18 2006 — edited May 22 2006Hi all,
I have deployed SSH on my home solaris 10 x86 machine and it was working fine through the default port 23.
But the problem is that i can't connect to it from work as the firewall blocks outgoing SSH traffic. So i want to change the default port from 23 to 8080.
i changed the value of Port in /etc/ssh/sshd_config.
Then i ran the command
/usr/lib/ssh/sshd -f /etc/ssh/sshd_config
because as far as i know from the man pages it will cause the daemon to reread the configuration file thus the new value for port but still it didnt' work.
Also i tried the command
/usr/lib/ssh/sshd -p 8080
but didn't work also
I tried to restart the ssh daemon after both commands but still the same result.
Would anyone please help me with this issue as i still don't have much experience in solaris.
Thanks in advance.