> From: owner-openssl-us...@openssl.org On Behalf Of FrankFang
> Sent: Sunday, 14 August, 2011 11:27
(apparently held by listserv until Thu Aug 18, I don't know why)

> I use gentoo-prefix on my Mac OS. My default shell is
> /Users/frank/.gentoo/bin/bash. When I try to use remote ssh login, it
> failed. But if I change my default shell to /bin/bash , I can login
> normally. Here're some debug info:
> 
SSH is not SSL. OpenSSH does use crypto library from OpenSSL 
(assuming you are using OpenSSH, which AFAIK Linuxes do) 
and the general crypto & protocol concepts are similar, 
but your problem doesn't appear to be in that area.

> Server Debug Info:
<snip: reasonable looking startup through pty>
> Aug 14 22:50:01 kata-kenmatoMacBook-Pro sshd[9486]: debug1:
> server_input_channel_req: channel 0 request env reply 0
> Aug 14 22:50:01 kata-kenmatoMacBook-Pro sshd[9486]: debug1:
> session_by_channel: session 0 channel 0
> Aug 14 22:50:01 kata-kenmatoMacBook-Pro sshd[9486]: debug1:
> session_input_channel_req: session 0 req env
> Aug 14 22:50:01 kata-kenmatoMacBook-Pro sshd[9486]: debug1:
> server_input_channel_req: channel 0 request shell reply 1
> Aug 14 22:50:01 kata-kenmatoMacBook-Pro sshd[9486]: debug1:
> session_by_channel: session 0 channel 0
> Aug 14 22:50:01 kata-kenmatoMacBook-Pro sshd[9486]: debug1:
> session_input_channel_req: session 0 req shell
> Aug 14 22:50:01 kata-kenmatoMacBook-Pro sshd[9487]: debug1: Setting
> controlling tty using TIOCSCTTY.
> Aug 14 22:50:01 kata-kenmatoMacBook-Pro sshd[9486]: debug1: Received
> SIGCHLD.
> Aug 14 22:50:01 kata-kenmatoMacBook-Pro sshd[9486]: debug1: 
> session_by_pid:
> pid 9487
> Aug 14 22:50:01 kata-kenmatoMacBook-Pro sshd[9486]: debug1:
> session_exit_message: session 0 channel 0 pid 9487
<snip rest>

When it tries to run your shell, the shell is dying (SIGCHLD).
I have no idea why; it must be something between the shell, 
the OS where it's running, and possibly the pty. 

Can you successfully run this shell locally on maybe an xterm? 
Maybe on 'screen' if you have that? You'll probably need to 
talk to people who know about OpenSSH (or other sshd).


______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to