sshd version OpenSSH_5.4p1 fails on OpenBSD 4.2 GENERIC macppc

Philippe Lelédy openssh at leledy.fr
Tue Mar 9 20:44:17 EST 2010


Because OpenSSH_5.4 doesn't build on my OpenBSD 4.2 box, I tried 
OpenSSH_5.4p1 which builds and installs fine.

After starting server with sudo /opt/sbin/sshd -p 2222 -d,  my ssh 
client can connect, but the session is closed by server as soon as it is 
started:

[...]
User child is on pid 10318
debug1: Entering interactive session for SSH2.
debug1: server_init_dispatch_20
debug1: server_input_channel_open: ctype session rchan 0 win 1048576 max 
16384
debug1: input_session_request
debug1: channel 0: new [server-session]
debug1: session_new: session 0
debug1: session_open: channel 0
debug1: session_open: session 0: link with channel 0
debug1: server_input_channel_open: confirm session
debug1: server_input_global_request: rtype no-more-sessions at openssh.com 
want_reply 0
debug1: server_input_channel_req: channel 0 request pty-req reply 1
debug1: session_by_channel: session 0 channel 0
debug1: session_input_channel_req: session 0 req pty-req
debug1: Allocating pty.
debug1: session_new: session 0
mm_send_fd: sendmsg(7): Invalid argument
mm_answer_pty: send fds failed
debug1: do_cleanup
debug1: session_pty_cleanup: session 0 release /dev/ttyp2

I acknowledge that OpenSSH_5.4p1 is for every thing but OpenBSD and that 
I'd better upgrade to last OpenBSD version.

Ph.L.



More information about the openssh-unix-dev mailing list