Re: Second instance if SSH not running

From: jhidalgo (jose_at_hostarica.com)
Date: 06/30/03

  • Next message: Ifan Jones: "RE: More on passwordless logins"
    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
    >
    >


  • Next message: Ifan Jones: "RE: More on passwordless logins"

    Relevant Pages

    • RE: starting daemons at server start
      ... This didn't work on restarting just now, ... I don't know if the script is ... changed the script from another daemon. ... > from inetd, then after the ...
      (freebsd-questions)
    • Re: inetd vs standalone daemon
      ... With inetd, you can also turn regular filters into network ... Because the big daemon needs to find out which service ... would it forkthe configured program to handle the connection. ...
      (freebsd-questions)
    • Re: How secure is inetd nowadays?
      ... just installed Leafnode, having found Cnews way too abstruse and INN ... Leafnode will not run as a standalone daemon, ... reinstall inetd. ... Both inetd and xinetd watch the incoming ...
      (comp.os.linux.security)
    • Re: How secure is inetd nowadays?
      ... Leafnode will not run as a standalone daemon, ... inetd has been replaced by xinetd. ...
      (comp.os.linux.security)
    • Please help with inetd
      ... I start using Solaris 10 - 10 days before and have problem with inetd ... I install on server Veritas NetBackup client, ... vnetd stream tcp nowait root /usr/openv/bin/vnetd vnetd ... WHY INETD Daemon does not start daemons? ...
      (comp.unix.solaris)