LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices

Reply
 
Search this Thread
Old 08-10-2004, 07:31 AM   #1
slug420
Member
 
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
or
Port 22,2000
or
Port 22
Port 2000

thanks!
 
Old 08-10-2004, 11:39 AM   #2
chort
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:
Quote:
Port Specifies the port number that sshd listens on. The default is
22. Multiple options of this type are permitted. See also
ListenAddress.
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 11:40 AM.
 
  


Reply


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


All times are GMT -5. The time now is 01:36 AM.

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