ssh and sftp-server work well except when entering quit from client side for sftp session, Causes session to hang, Ctrl-C closes session but this must be done using batch from mainframe. ssh session exiting works fine. Server - HP NonStop Itanium Blade (TANDEM) OS - Guardian - J06.09.01 ssh version - openssh-3.7.1p2 (ITUGLIB) running on Floss. Searched for various Patches, Implemented but not Suscessfull. sftp -> Quit = From Server:- debug1: session_input_channel_req: session 0 req subsystem subsystem request for sftp debug1: subsystem: exec() /usr/local/libexec/sftp-server debug2: fd 10 setting O_NONBLOCK debug2: fd 10 is O_NONBLOCK debug2: channel 0: rcvd eof debug2: channel 0: output open -> drain debug2: channel 0: obuf empty debug2: channel 0: close_write chan_shutdown_write - nchan.c /* debug line in nchan.c */ HANG..until Ctrl-C from Client.
3.7.2 was many years old when this bug was filed. In the unlikely case that you're still running it, could you try recreating this with a newer version?
There is a modern port to Tandem Nonstop (source code at https://github.com/rsbeckerca/openssh-portable/tree/randall, it sounds like they do binary releases too) so if anyone is looking for a fix for this that's what I'd suggest trying.
closing resolved bugs as of 8.6p1 release