Click to See Complete Forum and Search --> : ssh2 different port


Harvey
03-09-2001, 02:08 AM
Looked high and low, does anyone know how I can get the ssh2 daemon listening on a port other than the default 22?

Harvey
03-09-2001, 02:29 AM
Nevermind I got it! :)

to tell ssh2 to connect to a different port you just do
ssh2 -p #### -l username 11.11.11.11

to tell ssh2d to listen on a different port you can do ssh2d -p #### when you start it...

or, you can specify the port number in /etc/ssh2/ssh2d_config
there is a simple line that says Port, and you can put in whatever port you wish, restart ssh2d, and off you go!

cool stuff. :)