• This repository has been archived on 03/Apr/2024
  • Stars
    star
    240
  • Rank 168,229 (Top 4 %)
  • Language
    Go
  • License
    MIT License
  • Created over 8 years ago
  • Updated 7 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

ssh p2p tunneling server and client

ssh-p2p

ssh p2p tunneling server and client

connection sequence

  1. ssh ---dial---> ssh-p2p client
  2. ssh-p2p client <----negotiation----> ssh-p2p server
  3. 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 !!

More Repositories

1

joycon

Device access library for Joycon(Nintendo Switch)
Go
62
star
2

unqlitego

UnQLite for golang binding.
C
41
star
3

spago

SpaGo is toolkit for Single Page Application.
Go
35
star
4

wecty

Frontend ToolKit for Go and TinyGo.
Go
34
star
5

unqlitepy

UnQLite for Python Binding
C
20
star
6

supervisorgo

supervisord like golang implement
Go
17
star
7

vecty-chatapp

Vecty Samples
Go
13
star
8

gomobileapp

utility wrapper for gomobile
Go
11
star
9

nobopiano

Simplest Piano App for gomobile
Go
11
star
10

rtcdc-p2p

p2p data connection on webrtc
Go
10
star
11

voicevox-cli

CLI for voicevox
Go
10
star
12

three

three.js wrapper for GopherJS or WASM
Go
9
star
13

gomobile-sample

Mobile Application Sample (Golang)
Go
9
star
14

bootstrap4

Bootstrap4 components for Vecty
Go
7
star
15

gomdslides

presantation tool write in go
Go
7
star
16

wails-sveltekit

SvelteKit for Wails
Go
6
star
17

wails-sveltekit-skeleton

project template for wails with sveltekit & skelton
JavaScript
5
star
18

build-python-rpm

Python RPM package for CentOS/RedHat 6.x or 7.x
Makefile
4
star
19

webaudio

WebAudio API for golang
Go
4
star
20

dr2telemetry

Telemetory Viewer for DiRT Rally 2.0
Go
3
star
21

broadway-gui-sample

gtk3(broadway backend) gui sample application on docker
Go
3
star
22

unzip-cp932

unzip for CP932 (japanese)
Go
3
star
23

vecty-samples

Vecty Samples
Go
2
star
24

webrtc

JavaScript
2
star
25

go-sse-sample

ServerSentEvent Sample
Go
2
star
26

wrc-pacenote-mod

Pacenote Logger & Editor & Player in Japanese for EA Sports WRC
Go
2
star
27

ytuploader

Watch folder and upload video files to YouTube Utility
Go
2
star
28

nativeal

Native audio library compatible with WebAudio.
Go
2
star
29

tinygo-tls

TLS sample for TinyGo(WIP)
Go
2
star
30

p2pfw

p2p framework for golang and gopherjs
Go
1
star
31

hid

HID wrapper library for Wasm and Native Cross support.
Go
1
star
32

rccargo

RC-Car Simulator
JavaScript
1
star
33

spago-spectre

spectre.css components for SpaGo
Go
1
star
34

gophertank

JavaScript
1
star
35

js2go

JavaScript
1
star
36

go-ex-project

Golang Multiple Package Project Example
Go
1
star
37

obs-codemasters-telemetry

OBS Telemetry Viewer Plugin for Codemasters Car Simulation
Go
1
star
38

steg

Simple Template Engine for Go
Go
1
star
39

webpush-demo

Go
1
star
40

wrc-codriver

Go
1
star
41

jsutil

fetch and await utility for WASM on Go
Go
1
star