Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

github.com/ossystems/ssh-tunnel-server

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/ossystems/ssh-tunnel-server

  • v0.0.0-20190522183855-ee299c723cf7
  • Source
  • Go
  • Socket score

Version published
Created
Source

Installing

$ git clone https://github.com/OSSystems/ssh-tunnel-server.git
$ cd ssh-tunnel-server
$ docker-compose build

Setup

  • Add the device public key to ./ssh-forward/ssh/authorized_keys
    • You will need to store the private key on your local machine -- the one that you will use to access the remove device
  • Add the server private key to ./ssh-gateway/key.pem
  • Open the following Ports for Inbound Traffic
PortTypeProtocol Description
22TCPSSH for device connnection
32768 - 60999TCPIncoming Device Port
1883TCPMQTT
2221-2222TCPSSH for server-tunner-server manual connection
  • NOTE: Change SSHD config from Port 22 to 2222
sudo vi /etc/ssh/sshd_config
# uncomment # Port 22 and then change 22 to 2222
# save and exit sshd_config file
# restart sshd service
sudo systemctl restart sshd

Running

To have the containers run in daemon mode (not print out the log outputs)

docker-compose start

This prints out the logs of each container and does not run in the background

docker-compose up

Example Connection

ssh gateway.kcam-service.com -l root@my-remote-device

Notes:

  • hostname is case-sensitive (E.g. my-remote-device).
  • As stated in the section Setup, you will need to store the private key on your local machine -- the one that you will use to access the remove device This key grants you access to the ssh-tunnel-server

FAQs

Package last updated on 22 May 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc