Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 04-17-2002, 04:35 PM   #1
Registered: Apr 2002
Location: New York, USA
Distribution: Redhat 7.2, 9.0 Slackware 9.1
Posts: 428

Rep: Reputation: 30
Changing port number

How would you change what port a service runs on, specificly ssh, I want to change it to run on port 80, and no I don't have a webserver running or planning on needing port 80 anytime in the future, to explain this box is setting on a pretty large network and is used for a few various things and I need to be able to get into it from home, however I do not want to open up a port for ssh just for this machine so I thought I would just run it over a port that is already open, so any thoughts on this would be helpful. Thanks.
Old 04-20-2002, 08:49 AM   #2
LQ Newbie
Registered: Oct 2001
Posts: 9

Rep: Reputation: 0
try sshd --help if you want to know how to start it on port 80.
sshd runs standalone AFAIK, so you'll have to make sure port 80 is NOT in your /etc/inetd.conf
(check /etc/services to see which symbolic name is used for port 80, probably it is httpd)
Old 04-20-2002, 09:50 AM   #3
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232

It'i in /etc/ssh/sshd_config file. Look for line "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 On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
port number. bruse Linux - Networking 1 11-28-2005 03:13 PM
changing sendmail's port number hsegtreas Slackware 3 07-23-2004 05:24 PM
changing IP number for new webserver AZDAVE Linux - Networking 1 12-10-2003 05:13 PM
changing the number of colors Robert0380 Linux - General 7 05-22-2003 08:48 AM
right port number gogo Linux - General 1 05-07-2001 04:52 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 10:28 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