Re: Second instance if SSH not running
From: jhidalgo (jose_at_hostarica.com)
Date: 06/30/03
- Previous message: Michael Martinez: "Re: Sftp Logging Patch"
- In reply to: Roy S. Rapoport: "Re: Second instance if SSH not running"
- Next in thread: Georg Graf: "Re: Second instance if SSH not running"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Mon, 30 Jun 2003 08:46:49 -0600 (CST) To: "Roy S. Rapoport" <rsr@inorganic.org>
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:
> On Fri, Jun 27, 2003 at 11:21:15AM -0600, jhidalgo wrote:
> > What you need is to add ssh2 in /etc/services like this:
> [...]
> > and change /etc/inetd.conf like this:
> [...]
> > > I am running AIX 4.3 and I am having a problem
> > > starting
> > > multiple instances of ssh. It seems as if the second
> > > line (referring to initiating ssh on port 443 is not
> > > starting. I have the following two lines in my
> > > inetd.conf file:
>
> Am I insane, or is the usual way for running SSH as a standalone daemon? I
> don't seem to recall that AIX had a problem with standalones -- does it?
>
> -roy
>
>
- Previous message: Michael Martinez: "Re: Sftp Logging Patch"
- In reply to: Roy S. Rapoport: "Re: Second instance if SSH not running"
- Next in thread: Georg Graf: "Re: Second instance if SSH not running"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|