Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Re: Second instance if SSH not running

From: jhidalgo <jose(at)hostarica.com>
Date: Mon Jun 30 2003 - 10:46:49 EDT

I did help you with the inetd option, but if you want it to run as a daemon, why don't you write diferent config files and call it like this:

sshd -f /etc/sshd/the_one_with_22
sshd -f /etc/sshd/non_standart_port

When inetd is used the conection is handled by inetd, and the content of the packages is past like stdin to the program, thats why you need to specify that it is running with inetd.

It is better to run sshd like standalone:

     -i      Specifies that sshd is being run from inetd.  sshd is normally
             not run from inetd because it needs to generate the server key
             before it can respond to the client, and this may take tens of
             seconds.  Clients would have to wait too long if the key was
             regenerated every time.  However, with small key sizes (e.g.,
             512) using sshd from inetd may be feasible.

Reading some Richard Stevens about inetd will help you!

La imaginación es más importante que el conocimiento.

  • Albert Einstein. (1879-1955) Físico alemán.

On Fri, 27 Jun 2003, Roy S. Rapoport wrote:

Do you need help?X

> On Fri, Jun 27, 2003 at 11:21:15AM -0600, jhidalgo wrote:
Received on Mon Jun 30 13:25:11 2003

This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 14:03:00 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library