no shell after login

Stefan Reinauer stepan at coresystems.de
Mon Mar 27 13:13:23 WST 2006


* Stefan Reinauer <stepan at coresystems.de> [060327 07:01]:
> An ssh -v reveils the following:
 
The last few lines with -vvv:

debug2: channel 0: request shell confirm 0
debug2: fd 4 setting TCP_NODELAY
debug2: callback done
debug2: channel 0: open confirm rwindow 8000 rmax 8000
debug1: channel 0: free: client-session, nchannels 1
debug3: channel 0: status: The following connections are open:
  #0 client-session (t4 r0 i0/0 o0/0 fd 5/6 cfd -1)

debug3: channel 0: close_fds r 5 w 6 e 7 c -1
Connection to 192.168.0.253 closed by remote host.
Connection to 192.168.0.253 closed.
debug1: Transferred: stdin 0, stdout 0, stderr 89 bytes in 1.0 seconds
debug1: Bytes per second: stdin 0.0, stdout 0.0, stderr 89.3
debug1: Exit status -1



> OpenSSH_4.1p1, OpenSSL 0.9.7g 11 Apr 2005
> debug1: Reading configuration data /etc/ssh/ssh_config
> debug1: Applying options for *
> debug1: Connecting to wgt634u [192.168.0.253] port 22.
> debug1: Connection established.
> debug1: permanently_set_uid: 0/0
> debug1: identity file /root/.ssh/identity type -1
> debug1: identity file /root/.ssh/id_rsa type -1
> debug1: identity file /root/.ssh/id_dsa type -1
> debug1: Remote protocol version 2.0, remote software version dropbear_0.48.1
> debug1: no match: dropbear_0.48.1
> debug1: Enabling compatibility mode for protocol 2.0
> debug1: Local version string SSH-2.0-OpenSSH_4.1
> debug1: SSH2_MSG_KEXINIT sent
> debug1: SSH2_MSG_KEXINIT received
> debug1: kex: server->client aes128-cbc hmac-md5 none
> debug1: kex: client->server aes128-cbc hmac-md5 none
> debug1: sending SSH2_MSG_KEXDH_INIT
> debug1: expecting SSH2_MSG_KEXDH_REPLY
> debug1: Host 'wgt634u' is known and matches the RSA host key.
> debug1: Found key in /root/.ssh/known_hosts:4
> debug1: ssh_rsa_verify: signature correct
> debug1: SSH2_MSG_NEWKEYS sent
> debug1: expecting SSH2_MSG_NEWKEYS
> debug1: SSH2_MSG_NEWKEYS received
> debug1: SSH2_MSG_SERVICE_REQUEST sent
> debug1: SSH2_MSG_SERVICE_ACCEPT received
> debug1: Authentications that can continue: publickey,password
> debug1: Next authentication method: publickey
> debug1: Trying private key: /root/.ssh/identity
> debug1: Trying private key: /root/.ssh/id_rsa
> debug1: Trying private key: /root/.ssh/id_dsa
> debug1: Next authentication method: password
> root at wgt634u's password:
> debug1: Authentication succeeded (password).
> debug1: channel 0: new [client-session]
> debug1: Entering interactive session.
> debug1: Sending environment.
> debug1: Sending env LANG = <whatever is set>
> <hang until return>
> debug1: channel 0: free: client-session, nchannels 1
> debug1: fd 1 clearing O_NONBLOCK
> Connection to wgt634u closed by remote host.
> Connection to wgt634u closed.
> debug1: Transferred: stdin 0, stdout 0, stderr 77 bytes in 4.0 seconds
> debug1: Bytes per second: stdin 0.0, stdout 0.0, stderr 19.4
> debug1: Exit status -1
> 
> Thanks in advance,
>     Stefan
> 

-- 
coresystems GmbH · Brahmsstr. 16 · D-79104 Freiburg i. Br.
      Tel.: +49 761 7668825 · Fax: +49 761 7664613
Email: info at coresystems.de  · http://www.coresystems.de/



More information about the Dropbear mailing list