2.1.1p4: sessions automatically closed, if sshd is run from inetd
kromJx
kromJx at crosswinds.net
Thu Sep 7 00:31:20 EST 2000
Hi all,
I have noticed a problem with the newly released version 2.1.1p4 (as well
as with 2.1.1p3) :
If sshd is run from inetd, all interactive sessions are automatically closed
right after (successful) login.
The problem disappears, if sshd is run from the command line (ie. no -i option)
and did not exist in 2.1.1p2.
This was noticed on a linux x86 box. I have appended a typescript of the
session (which was started with 'ssh -v localhost'), as well as the respective
logged messages.
Is this a known bug or I am just missing something?
Are there any workarounds ?
Any help is appreciated.
- J
PS. Keep up the good work all of you guys.
-------------- next part --------------
SSH Version OpenSSH_2.1.1, protocol versions 1.5/2.0.
Compiled with SSL (0x0090581f).
debug: Reading configuration data /home/s/.ssh/config
debug: Applying options for *
debug: Reading configuration data /etc/ssh/ssh_config
debug: Applying options for *
debug: Seeding random number generator
debug: ssh_connect: getuid 101 geteuid 0 anon 1
debug: Connecting to localhost [127.0.0.1] port 22.
debug: Connection established.
debug: Remote protocol version 1.99, remote software version OpenSSH_2.1.1
debug: Local version string SSH-1.5-OpenSSH_2.1.1
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: blowfish
debug: Sent encrypted session key.
debug: Installing crc compensation attack detector.
debug: Received encrypted confirmation.
debug: Trying RSA authentication with key 'identity_1024'
debug: Received RSA challenge from server.
debug: Sending response to host key RSA challenge.
debug: Remote: RSA authentication accepted.
debug: RSA authentication accepted by server.
debug: Requesting pty.
debug: Requesting shell.
debug: Entering interactive session.
Last login: Wed Sep 6 16:08:18 2000 from localhost
Welcome to ThisCompanny, Inc. !
Environment:
USER=a_user
LOGNAME=a_user
HOME=/home/a_user
PATH=/usr/bin:/bin
MAIL=/var/spool/mail/a_user
SHELL=/bin/bash
SSH_CLIENT=127.0.0.1 1157 22
SSH_TTY=/dev/pts/0
TERM=linux
Connection to localhost closed.
debug: Transferred: stdin 0, stdout 297, stderr 33 bytes in 0.1 seconds
debug: Bytes per second: stdin 0.0, stdout 4280.2, stderr 475.6
debug: Exit status 0
-------------- next part --------------
Sep 6 16:08:28 evelyn sshd[9571]: Generating 768 bit RSA key.
Sep 6 16:08:29 evelyn sshd[9571]: RSA key generation complete.
Sep 6 16:08:29 evelyn sshd[9571]: Connection from 127.0.0.1 port 1157
Sep 6 16:08:29 evelyn sshd[9571]: Accepted rsa for a_user from 127.0.0.1 port 1157
Sep 6 16:08:29 evelyn PAM_pwdb[9571]: (sshd) session opened for user a_user by (uid=0)
Sep 6 16:08:30 evelyn sshd[9571]: syslogin_perform_logout: logout() returned an error
Sep 6 16:08:30 evelyn sshd[9571]: Closing connection to 127.0.0.1
Sep 6 16:08:30 evelyn PAM_pwdb[9571]: (sshd) session closed for user a_user
More information about the openssh-unix-dev
mailing list