Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Update openssl/openssh? (sftp problem)
2012-10-23, 02:47 PM
Post: #1
Update openssl/openssh? (sftp problem)
I see that ssh6.1 is now available for 3.5/5.2, any chance of a native package for 6.x 64-bit?

Also, it would be good to get an update to the openssl library if possible. The current one does not support some of the newer cipher suites.

On a possibly related note, I have had problems with sftp simply dropping connections. I don't *think* it's the server, because Filezilla handles it just fine. The debug spew:

Code:
...
debug1: channel 0: new [client-session]
debug2: channel 0: send open
debug1: Entering interactive session.
debug2: callback start
debug2: client_session2_setup: id 0
debug2: fd 3 setting TCP_NODELAY
debug1: Sending subsystem: sftp
debug2: channel 0: request subsystem confirm 1
debug2: callback done
debug2: channel 0: open confirm rwindow 0 rmax 32768
debug2: channel 0: rcvd adjust 2097152
debug2: channel_input_status_confirm: type 99 id 0
debug2: subsystem request accepted on channel 0
debug2: Remote version: 3
Connected to .
sftp> put
Uploading to /home/ftpuser/
                                                 0%    0     0.0KB/s   --:-- ETAd
ebug2: channel 0: rcvd adjust 98434
debug2: channel 0: rcvd adjust 131072
debug2: channel 0: rcvd adjust 131072
...
debug1: client_input_channel_req: channel 0 rtype exit-status reply 0
debug2: channel 0: rcvd eof
debug2: channel 0: output open -> drain
debug2: channel 0: obuf empty
debug2: channel 0: close_write
debug2: channel 0: output drain -> closed
debug2: channel 0: rcvd close
debug2: channel 0: close_read
debug2: channel 0: input open -> closed
debug2: channel 0: almost dead
debug2: channel 0: gc: notify user
debug2: channel 0: gc: user detached
debug2: channel 0: send close
debug2: channel 0: is dead
debug2: channel 0: garbage collecting
debug1: channel 0: free: client-session, nchannels 1
debug3: channel 0: status: The following connections are open:
  #0 client-session (t4 r0 i3/0 o3/0 fd -1/-1 cc -1)

debug1: fd 0 clearing O_NONBLOCK
debug1: fd 1 clearing O_NONBLOCK
Transferred: sent 504692336, received 900008 bytes, in 217.1 seconds
Bytes per second: sent 2325220.2, received 4146.5
debug1: Exit status 11
After that, it drops me back at bash. If I don't use the -v options, it drops be back to bash without any error message at all, simply failing out in the middle of the upload.
Find all posts by this user
Quote this message in a reply
2012-10-23, 10:39 PM
Post: #2
RE: Update openssl/openssh? (sftp problem)
I'll look at openssh 6.1 for Interix 6.X 64-bit next and then openssl after that.
I know it sounds reversed, but this order makes it easier to determine where the problem is
if one appears during initial testing. Also, it takes a lot longer to do OpenSSL. A re-link
after is fairly easy then with an updated package.
I may be able to start this tomorrow, but I have a home inspector here tomorrow (yeah,
gotta sell the house) and that'll take a while.
Find all posts by this user
Quote this message in a reply
2012-10-29, 02:57 PM
Post: #3
RE: Update openssl/openssh? (sftp problem)
Just to update.
Something with the build didn't go right (the daemon wasn't allowing connections).
scp on the Interix 3.5/5.2 release has me comparing the config.h files now.
Find all posts by this user
Quote this message in a reply
2012-10-29, 07:41 PM
Post: #4
RE: Update openssl/openssh? (sftp problem)
No problem, and thanks for working on this and keeping us up to date!
Find all posts by this user
Quote this message in a reply
2012-10-30, 12:28 PM
Post: #5
RE: Update openssl/openssh? (sftp problem)
Damn, turned out to be "operator error" on my part. The build was fine.
I have 6.X 32-bit available now.
Will be starting 6.X 64-bit next.
Find all posts by this user
Quote this message in a reply
2012-10-30, 03:41 PM
Post: #6
RE: Update openssl/openssh? (sftp problem)
The 6.1.0.1 for Interix 6.X 64-bit is now available.
This is with the current openssh as expected -- this will be looked at next.
Find all posts by this user
Quote this message in a reply
2012-11-05, 04:39 PM
Post: #7
RE: Update openssl/openssh? (sftp problem)
Thanks Rodney!

I was able to upload ~200MB without a hitch using SFTP on the new version, but since that's within the range where it used to fail (anywhere from 50 to 800 MB) I can't be sure if the problem is fixed. I'll let you know if the issue comes up again. If you see anything that would trigger this behavior, though, it would be good to have is fixed beforehand (my upload speed is under a 1Mbps here; the above log was generated on somebody else's connection under the hope that a faster connection would solve the problem.)
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)