LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   SSH Port (https://www.linuxquestions.org/questions/linux-networking-3/ssh-port-64602/)

Finlay 06-09-2003 03:56 PM

SSH Port
 
Can i run SSH on a different port besides 22?

Situation:
I have 2 linux machines (both slackware 9) on my lan.
I have a cable router/switch
I currently have port 22 mapped to my first linux box.
Now i want to be able to SSH into my second linux box.

If this is possible, which i'm sure it is, what files do i need to change and what is a good port?

Thanks

acid_kewpie 06-09-2003 04:04 PM

in your sshd_config file just set "Port 1234" or whatever you prefer.

Finlay 06-09-2003 04:17 PM

i don't need to change anything in my /etc/services file

right now it has lines for tcp and udp on port 22

thanks

cyberskye 06-09-2003 04:52 PM

do you run it out of xinetd or standalone?

Finlay 06-09-2003 05:00 PM

xinetd


All times are GMT -5. The time now is 03:23 PM.