High Performance SSH

Status
Not open for further replies.

mute

Dabbler
Joined
Dec 8, 2013
Messages
19
Stumbled upon this on HN today, thought it might be of interest: http://www.psc.edu/index.php/hpn-ssh

The gist of it is that out of the box, ssh/scp even with a "weak cipher" is limited by the size of internal flow control buffers. The HPN-SSH project is a patch that alleviates a lot of the artificially imposed bottlenecks on scp and has some pretty impressive results.

hpn-v-ssh-tput.jpg


mt-aes-ctr-results.gif

I know there has been work done in the latest versions of FreeNAS with regards to ssh (namely giving you the ability to specify no cipher at all), but this might be worth considering for inclusion into the project if it's feasible.

It might not be production ready just yet, as there seems to be a bug related to disconnects they are trying to track down but it seemed pretty cool.

@jkh, I'm looking at you! :)
 
D

dlavigne

Guest
Hmm, not sure why it says it doesn't find the link as it works...
 

mute

Dabbler
Joined
Dec 8, 2013
Messages
19
Oh, well I'll be. I didn't realize that, but I suppose I would have figured that out had I searched for "FreeBSD and HPN-SSH".
 

anodos

Sambassador
iXsystems
Joined
Mar 6, 2014
Messages
9,553
It might not be production ready just yet, as there seems to be a bug related to disconnects they are trying to track down but it seemed pretty cool.
Although this is already default for FreeBSD, your statement gives a good indication why these patches are not universally applied. It's one thing if smbd, ftpd, nginx, etc crashes or is buggy. It's quite different if you make sshd flakey. I don't want a bug to make me have to get out of my chair (unless I need more coffee - yes, I consider a coffee cup that runs out of coffee to be a bug).
 

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,525
...(unless I need more coffee - yes, I consider a coffee cup that runs out of coffee to be a bug).

That's not a bug. That's a feature! It makes you get off your butt. :P
 
Status
Not open for further replies.
Top