LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Change ssh port number (https://www.linuxquestions.org/questions/linux-software-2/change-ssh-port-number-154405/)

israel 03-06-2004 09:24 PM

Change ssh port number
 
Does anybody know who can i change ssh to use port 80 insted of 22, the reason i want to do this is because when im at school port 80 is the only way out, everything else i firewalled and i need to ssh to computer.

Thanks a lot

Im running redhat 9

cmfarley19 03-06-2004 09:29 PM

Edit /etc/ssh/sshd_config
Change Line:
Code:

Port 22
to
Code:

Port 80

tijo.thomas 08-30-2006 05:18 AM

you may have to restart the service after this.

u can try thiz too..

service sshd stop
/usr/sbin/ssh -p <new port number>
service sshd start

The serivce will start listening to the new port.


All times are GMT -5. The time now is 08:30 AM.