command
module
Version:
v0.0.0-...-f67de4f
Opens a new window with list of versions in this module.
Published: Apr 14, 2023
License: MIT
Opens a new window with license information.
Imports: 19
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
ssh-p2p
ssh p2p tunneling server and client
connection sequence
- ssh ---dial---> ssh-p2p client
- ssh-p2p client <----negotiation----> ssh-p2p server
- sshd <--dial--- ssh-p2p server
backend protocol
thx! https://github.com/pions/webrtc
install
$ go get -u github.com/nobonobo/ssh-p2p
usage
server side
$ KEY = $(ssh-p2p newkey)
$ echo $KEY
xxxxxxxx-xxxx-xxxx-xxxxxxxx
$ ssh-p2p server -key=$KEY -dial=127.0.0.1:22
share $KEY value to client side
client side
$ KEY=xxxxxxxx-xxxx-xxxx-xxxxxxxx
$ ssh-p2p client -key=$KEY -listen=127.0.0.1:2222
client side other terminal
$ ssh -p 2222 127.0.0.1
connect to server side sshd !!
Documentation
¶
There is no documentation for this package.
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.