ssh
--- connect()
---> p2p-tunnel client
---- negotiation ----> p2p-tunnel server
-- connect()
--> ssh
-
RTCDataChannel/WebRTC: https://github.com/pions/webrtc
-
signaling server: https://nobo-signaling.appspot.com/
src: signaling/gae
KEY=$(p2p-tunnel newkey)
p2p-tunnel server -key=$KEY -addr=127.0.0.1:22
share $KEY value to client side
p2p-tunnel client -key=$KEY -addr=127.0.0.1:2222
$ ssh -p 2222 127.0.0.1