Re:Show HN: Run SSH and HTTP(S) on the same port
by rustyconover on Wednesday January 21, 2015 @04:19PM
(#8925846)
I wonder if you could do this with Nginx and the Upgrade header.
[ Parent
| on HN ]
Re:Show HN: Run SSH and HTTP(S) on the same port
by falcolas on Wednesday January 21, 2015 @04:45PM
(#8925976)
If you could get SSH to negotiate the upgrade header before initializing its own connection, then you probably could.
I think this could also potentially be done via iptables rules as well, since iptables is capable of inspecting & rerouting packets.
Re:Show HN: Run SSH and HTTP(S) on the same port
by shanemhansen on Wednesday January 21, 2015 @06:30PM
(#8926508)
A little known fact is that newer versions of openssh support ProxyUseFDPass which allows you to do some protocol negotiation before passing the socket onto to the regular client. http://www.openssh.com/txt/release-6.5