Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 03-06-2004, 09:24 PM   #1
Registered: Mar 2003
Location: Canada
Distribution: Slackware 8.1
Posts: 74

Rep: Reputation: 15
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
Old 03-06-2004, 09:29 PM   #2
Registered: Nov 2002
Location: Central VA
Distribution: Ubuntu/Debian
Posts: 228

Rep: Reputation: 32
Edit /etc/ssh/sshd_config
Change Line:
Port 22
Port 80
Old 08-30-2006, 05:18 AM   #3
Registered: Feb 2006
Location: bangalore
Posts: 34

Rep: Reputation: 15
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.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
ssh change port Longinus Linux - Newbie 14 12-16-2006 03:34 PM
can i change the host's ssh port? guardianx Linux - Software 7 07-11-2005 01:47 PM
How to change Exim port number? ylikone Linux - Software 2 06-26-2005 12:33 PM
Change SSH Port? flamesrock Linux - Software 6 10-02-2004 07:12 PM
Able to change port number between telnet and ssh? x5452 Linux - General 3 03-28-2004 05:04 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:55 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration