LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   question about ssh (https://www.linuxquestions.org/questions/linux-general-1/question-about-ssh-49302/)

erikm103 03-11-2003 12:51 PM

question about ssh
 
is it possible to have ssh listen on two ports at the same time?

ex. having it listen on 22 and 80?

micxz 03-11-2003 02:01 PM

/etc/ssh/ssh_config
/etc/ssh/sshd_config

these files may have different names or be in a different place then mine. the examples above are from SuSE 8.

Have you found your ssh configuration file?

Crashed_Again 03-11-2003 02:30 PM

In those files there is a location to specify the port ssh listens on. It looks like this:

Port 22

If you were able to specify multiple ports this would be the place to do it. How you do it is the real question. Maybe you can add a comma like this:

Port 22, 1034

I'm not sure what the exact syntax would be.


All times are GMT -5. The time now is 09:17 AM.