Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com From: "Richard Stanton" To: Subject: SSHD: works from command line, but not from INETD Date: Sun, 3 Sep 2000 23:08:02 -0700 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal In-Reply-To: <200009021956.PAA03150@rtl.cygnus.com> X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 I can connect to my machine (Win2k) using ssh if I run sshd at the command line. However, when I follow the instructions to run sshd from inetd, here's what happens when I try to connect using ssh: c:\>ssh localhost ssh_exchange_identification: Connection closed by remote host For more information, I tried: c:\>ssh -v localhost SSH Version OpenSSH_2.2.0p1, protocol versions 1.5/2.0. Compiled with SSL (0x0090581f). debug: Seeding random number generator debug: ssh_connect: getuid 1000 geteuid 1000 anon 0 debug: Connecting to localhost [127.0.0.1] port 22. debug: Seeding random number generator debug: Allocated local port 602. debug: Connection established. ssh_exchange_identification: Connection closed by remote host debug: Calling cleanup 0x413444(0x0) This looks rather different from the trace when I am running sshd at the command line: c:\4nt>ssh -v localhost SSH Version OpenSSH_2.2.0p1, protocol versions 1.5/2.0. Compiled with SSL (0x0090581f). debug: Reading configuration data /usr/local/etc/ssh_config debug: Applying options for * debug: Seeding random number generator debug: ssh_connect: getuid 1000 geteuid 1000 anon 0 debug: Connecting to localhost [127.0.0.1] port 22. debug: Seeding random number generator debug: Allocated local port 733. debug: Connection established. debug: Remote protocol version 1.99, remote software version OpenSSH_2.2.0p1 debug: Local version string SSH-1.5-OpenSSH_2.2.0p1 debug: Waiting for server public key. debug: Received server public key (768 bits) and host key (1024 bits). debug: Forcing accepting of host key for loopback/localhost. debug: Seeding random number generator debug: Encryption type: 3des debug: Sent encrypted session key. debug: Installing crc compensation attack detector. debug: Received encrypted confirmation. debug: Doing password authentication. stanton AT localhost's password: In particular, the first trace didn't mention reading the configuration file. What am I missing? Thanks. Richard Stanton -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com