Latest LQ Deal: Linux Power User Bundle
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 03-11-2003, 12:51 PM   #1
LQ Newbie
Registered: Feb 2003
Location: Canada
Distribution: slackware 8.1
Posts: 20

Rep: Reputation: 0
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?
Old 03-11-2003, 02:01 PM   #2
Senior Member
Registered: Sep 2002
Location: CA
Distribution: openSuSE, Cent OS, Slackware
Posts: 1,131

Rep: Reputation: 75

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?

Last edited by micxz; 03-11-2003 at 02:03 PM.
Old 03-11-2003, 02:30 PM   #3
Senior Member
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

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


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
ssh-agent/ssh-add question mega Slackware 2 01-26-2005 03:09 AM
Question on SSH ? brokenflea Slackware 7 10-27-2004 09:25 AM
SSH Question... Flipper Linux - Newbie 4 07-20-2003 03:29 PM
ssh question pdelucia Linux - Security 1 07-09-2003 02:54 PM
question about ssh minor Linux - Security 7 05-20-2001 08:24 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 02:32 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration