LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-08-2005, 09:37 PM   #1
nsusa
LQ Newbie
 
Registered: Nov 2005
Posts: 2

Rep: Reputation: 0
SSH Inet.d


I want to install SSH on a RedHat Linux server so that it starts with inet.d. The overall idea is to have SSH listen on 2 different ports at the same time. SSH is already on the server listening on the default port.

I do not want to mess up my default SSH. Any idea how to approach this?

Thanks.

Chris
 
Old 11-08-2005, 09:50 PM   #2
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 416Reputation: 416Reputation: 416Reputation: 416Reputation: 416
You just need to start a second SSH daemon to listen to the second port. You can do that by starting sshd with the -f flag, which allows you to specify a configuration file. In that second config file, you just need to specify what port to listen to.
 
  


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
inet.d Martin Strand Linux - Newbie 1 04-10-2005 09:23 PM
SuSE INET yllek Linux - Laptop and Netbook 1 11-22-2004 09:23 AM
Mandrake 9.1 and inet nik.dk Linux - Networking 3 07-18-2003 02:18 PM
No Inet cmull123 Linux - Networking 1 06-23-2003 03:55 PM
I can now get on the Inet, but I can't dns AdamB Linux - Networking 56 02-18-2002 02:48 PM


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

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration