[prev in list] [next in list] [prev in thread] [next in thread] 

List:       secure-shell
Subject:    sshd works in debug mode, but not as daemon
From:       Jim Clausing <jac () photon ! magnus ! acs ! ohio-state ! edu>
Date:       1995-12-28 9:21:04
[Download RAW message or body]


Hi,
	I've successfully built ssh-1.2.12 on a Mac runing MachTen
v2.2 (VM), but I'm having one slight problem.  scp and ssh seem to
work fine for the small things I have tried, but slogin only seems to
work if I run sshd in debug mode (-d).  When I try to connect to a
running daemon (started from /etc/rc.local as 
	/usr/local/sbin/sshd -b 1024
) everything looks fine, but after it claims to be entering
interactive session, things just hang there until it times out.  Below
is a transcript (from the slogin side, **...** indicates my comment,
names changed to protect the guilty).  I can get the syslog (fascist
logging turned on) of the other end tomorrow if it would help (don't
have access to the machine today), but it pretty much says the same
thing that it started a pty (though I don't see it) started a shell
and was entering interactive session.  Then it just sits there.

------------------------transcript---------------------------

jac@cuttlefish[359] slogin -v -x -l jac target.machine -p 22
SSH Version 1.2.12, protocol version 1.3
Standard version.  Does not use RSAREF.
Reading configuration data /etc/ssh_config
Applying options for *
ssh_connect: getuid 6949 geteuid 0 anon 0
Connecting to target.machine [xxx.xxx.xxx.xxx] port 22.
Allocated local port 1023.
Connection established.
Remote protocol version 1.3, remote software version 1.2.12
Waiting for server public key.
Received server public key (1152 bits) and host key (1024 bits).
Host 'target.machine' is known and matches the host key.
Initializing random; seed file /home/jac/.ssh/random_seed
Encryption type: idea
Sent encrypted session key.
Received encrypted confirmation.
Trying rhosts or /etc/hosts.equiv with RSA host authentication.
Remote: Accepted by .shosts.
Remote: Your host key cannot be verified: unknown or invalid host key.
Remote: Try logging back from the server machine using ssh, and then try again.
Server refused our rhosts authentication or host key.
Doing password authentication.
Password:
Requesting pty.
Requesting shell.
Entering interactive session.
** things just sit here for about 10 minutes **
Connection to target.machine closed by remote host.
Connection to target.machine closed.
Transferred stdin 1, stdout 0 stderr 85 bytes in 1031.0 seconds
Bytes per second: stdin 0.0 stdout 0.0 stderr 0.1
Exit status -1

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic