SSH Console over WebRTC
The Rtc-SSH application allows you to connect to SSH and execute shell commands, e.g. Raspberry PI, BeagleBone and other devices directly from the browser using WebRTC. It solves the problem of the lack of public IP address, proxy server, NAT servers, frees from setting the firewall, port forwarding, etc.
tar xvfz rtc-ssh_0.3.1_Linux_armv7.tar.gz
Other architectures and releases: https://github.com/mxseba/rtc-ssh/releases
go get -u github.com/mxseba/rtc-ssh
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
go get -u github.com/mxseba/rtc-ssh cd $GOPATH/bin ./rtc-ssh -newkey uuid xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx Signal OK
-newkey usage only first run, enter the uuid key on the website.
Command-line version SSH client rtc-terminal is available: https://github.com/mxseba/rtc-terminal/releases
SSH Secure shell is a communication protocol used in TCP / IP networks, used to connect to remote computers, e.g. with your Raspberry PI, using a console. SSH access is primarily used to manage files that are published on the server. With it, you can transfer and copy files between directories, run programs, change their contents, package / unpack files on the server.
WebRTC HTML5 standard developed by the World Wide Web Consortium (W3C), used for real-time communication via a browser.
NAT Network address translation with the increase in the number of computers on the Internet, the threat of running out of the pool of available IPv4 Internet addresses has come near. To remedy this, local computer networks that use private addresses can be connected to the Internet through one router that has fewer Internet addresses than computers on that network. Although almost 17 million addresses can be allocated in each private network, the limit will be used for NAT ports, 65535. This router, when computers from the local network communicate with the world, dynamically translate private addresses to external addresses, allowing the Internet to be used by more computers than the number of external addresses. NAT is often used in corporate networks (in combination with proxies) and residential networks.
P2P Peer-to-peer a communication model in a computer network that provides all hosts with the same rights, unlike client-server architecture. Originally, the idea of the Internet was similar to the P2P network - all hosts played an equal role in the process of data exchange. As a result of the rapid development, the symmetry of the Internet has been broken. The role of distributors was taken over by enterprises and institutions that could afford to maintain fixed links with very high capacity and purchase of strong computers capable of handling heavy traffic.