Hello all, Using 20000930 snapshot on Irix 6.5.9m. SFTP connections with SSH 2.3.0 (Windows) die right out. Similar configuration and the same version works fine in Red Hat Linux 6.2. This is probably related to 'sftp' thread 7-10 days ago. The error messages captured in debug mode: --- debug1: server_input_channel_open: ctype session rchan 1 win 100000 max 8192 debug1: open session debug1: channel 2: new [server-session] debug1: session_new: session 1 (2 used) debug1: session_open: channel 2 debug1: session_open: session 1: link with channel 2 debug1: confirm session debug2: callback start debug1: session_by_channel: session 1 channel 2 debug1: session_input_channel_req: session 1 channel 2 request subsystem reply 1 subsystem request for sftp debug1: subsystem: exec() /v/irix65_mips64/comm/openssh/2.2.0p2_SNAP/libexec/sftp-server debug1: fd 13 setting O_NONBLOCK debug2: callback done debug1: Received SIGCHLD. debug1: session_by_pid: pid 31997225 debug1: session_exit_message: session 1 channel 2 pid 31997225 debug1: session_exit_message: release channel 2 debug1: channel 2: write failed debug1: channel 2: output open -> closed debug1: channel 2: close_write debug1: channel 2: chan_shutdown_write: shutdown() failed for fd13: Transport endpoint is not connected debug1: session_free: session 1 pid 31997225 debug1: channel 2: read<=0 rfd 13 len 0 debug1: channel 2: read failed debug1: channel 2: input open -> drain debug1: channel 2: close_read debug1: channel 2: input: no drain shortcut debug1: channel 2: ibuf empty debug1: channel 2: input drain -> closed debug1: channel 2: send eof debug1: channel 2: send close ----- The error message in SSH 2.3.0 sftp program: ----- File transfer server could not be started or it exited unexpectedly Exit value 1 was returned. ----- Anyone with non-Linux/BSD systems experiencing sftp-server problems? Ideas? -- Pekka Savola "Tell me of difficulties surmounted, Pekka.Savola at netcore.fi not those you stumble over and fall"
Yes.. Under NeXT "realpath" is not implemented, but there is a weakly bound "realpath" function within it's C libraries. I have a patch submitted to add in realpath for those missing it. When you compile sftp-server. Does it give you any warnings? - Ben On Mon, 2 Oct 2000, Pekka Savola wrote:> Hello all, > > Using 20000930 snapshot on Irix 6.5.9m. > > SFTP connections with SSH 2.3.0 (Windows) die right out. Similar > configuration and the same version works fine in Red Hat Linux 6.2. > > This is probably related to 'sftp' thread 7-10 days ago. > > The error messages captured in debug mode: > --- > debug1: server_input_channel_open: ctype session rchan 1 win 100000 max 8192 > debug1: open session > debug1: channel 2: new [server-session] > debug1: session_new: session 1 (2 used) > debug1: session_open: channel 2 > debug1: session_open: session 1: link with channel 2 > debug1: confirm session > debug2: callback start > debug1: session_by_channel: session 1 channel 2 > debug1: session_input_channel_req: session 1 channel 2 request subsystem > reply 1 > subsystem request for sftp > debug1: subsystem: exec() > /v/irix65_mips64/comm/openssh/2.2.0p2_SNAP/libexec/sftp-server > debug1: fd 13 setting O_NONBLOCK > debug2: callback done > debug1: Received SIGCHLD. > debug1: session_by_pid: pid 31997225 > debug1: session_exit_message: session 1 channel 2 pid 31997225 > debug1: session_exit_message: release channel 2 > debug1: channel 2: write failed > debug1: channel 2: output open -> closed > debug1: channel 2: close_write > debug1: channel 2: chan_shutdown_write: shutdown() failed for fd13: > Transport endpoint is not connected > debug1: session_free: session 1 pid 31997225 > debug1: channel 2: read<=0 rfd 13 len 0 > debug1: channel 2: read failed > debug1: channel 2: input open -> drain > debug1: channel 2: close_read > debug1: channel 2: input: no drain shortcut > debug1: channel 2: ibuf empty > debug1: channel 2: input drain -> closed > debug1: channel 2: send eof > debug1: channel 2: send close > ----- > > The error message in SSH 2.3.0 sftp program: > ----- > File transfer server could not be started or it exited unexpectedly > Exit value 1 was returned. > ----- > > Anyone with non-Linux/BSD systems experiencing sftp-server problems? > Ideas? > > -- > Pekka Savola "Tell me of difficulties surmounted, > Pekka.Savola at netcore.fi not those you stumble over and fall" > >
On Mon, Oct 02, 2000 at 03:33:42PM +0300, Pekka Savola wrote:> Anyone with non-Linux/BSD systems experiencing sftp-server problems? > Ideas?Try checking the SYSLOG file for messages from sftp-server, and look for core files. -- Mike Stone
sftp-server should not dump core. please send a backtrace if it does... On Mon, Oct 02, 2000 at 09:10:44AM -0400, Michael Stone wrote:> On Mon, Oct 02, 2000 at 03:33:42PM +0300, Pekka Savola wrote: > > Anyone with non-Linux/BSD systems experiencing sftp-server problems? > > Ideas? > > Try checking the SYSLOG file for messages from sftp-server, and look for > core files. > > -- > Mike Stone