Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Security
User Name
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.


  Search this Thread
Old 08-10-2004, 08:31 AM   #1
Registered: Jul 2004
Posts: 68

Rep: Reputation: 15
quick sshd_config question

How do I set sshd to listen on multiple ports?

Port 22 2000
Port 22,2000
Port 22
Port 2000

Old 08-10-2004, 12:39 PM   #2
Senior Member
Registered: Jul 2003
Location: Silicon Valley, USA
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660

Rep: Reputation: 69
According to sshd_config(5) it says:
Port Specifies the port number that sshd listens on. The default is
22. Multiple options of this type are permitted. See also
So "multiple options of this type" would be the latter of your choices:

Port 22
Port 2000

Last edited by chort; 08-10-2004 at 12:40 PM.


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
editing sshd_config in ipcop 1.4.2 insurin Linux - Security 5 03-18-2005 07:28 PM
AllowUsers in sshd_config Won't Use IP Range lnxconvrt Linux - Security 4 11-29-2004 12:28 AM
sshd_config banner to show users IP tommytomato Linux - Security 5 06-20-2004 06:50 AM
samba smb.config question (quick question) TheDOGG Linux - Networking 1 03-02-2004 08:19 AM
sshd_config eyt Linux - Newbie 2 02-19-2004 01:05 PM > Forums > Linux Forums > Linux - Security

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