Skip to content

lapd-golang/rtc-ssh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

88 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rtc-SSH

SSH (Secure Shell) via WebRTC

Rtc-SSH enables connection with SSH Raspberry PI, BeagleBone and other devices, from the browser using WebRTC. Solves the problem of the lack of public IP address, proxy server, servers behind NAT etc. You can connect to an SSH session: https://sqs.io

Install from binary

wget https://github.com/mxseba/rtc-ssh/releases/download/v0.3.1/rtc-ssh_0.3.1_Linux_armv7.tar.gz
tar xvfz rtc-ssh_0.3.1_Linux_armv7.tar.gz
cd rtc-ssh_0.3.1_Linux_armv7
./rtc-ssh -newkey
uuid xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
Signal OK

Other architectures and releases: https://github.com/mxseba/rtc-ssh/releases

or get source using the Go compilator:

Usage

go get -u github.com/mxseba/rtc-ssh
cd $GOPATH/bin

First run

./rtc-ssh -newkey
uuid xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
Signal OK

Option -newkey usage only first run, enter the uuid key on the website: https://sqs.io
If ssh has a different port on our server than 22, set the option -setport=xxxx

Rtc-SSH uses the pion-WebRTC library: https://github.com/pion/webrtc