{"id":21423800,"url":"https://github.com/ossystems/ssh-tunnel-server","last_synced_at":"2025-09-01T07:39:28.819Z","repository":{"id":137551678,"uuid":"137520567","full_name":"OSSystems/ssh-tunnel-server","owner":"OSSystems","description":null,"archived":false,"fork":false,"pushed_at":"2019-05-22T18:39:06.000Z","size":18,"stargazers_count":2,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-14T09:12:33.797Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/OSSystems.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-06-15T18:34:53.000Z","updated_at":"2022-01-31T13:46:18.000Z","dependencies_parsed_at":null,"dependency_job_id":"e783751f-1810-44a3-950d-bb4ea4ac222e","html_url":"https://github.com/OSSystems/ssh-tunnel-server","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/OSSystems/ssh-tunnel-server","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OSSystems%2Fssh-tunnel-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OSSystems%2Fssh-tunnel-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OSSystems%2Fssh-tunnel-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OSSystems%2Fssh-tunnel-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/OSSystems","download_url":"https://codeload.github.com/OSSystems/ssh-tunnel-server/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OSSystems%2Fssh-tunnel-server/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273089706,"owners_count":25043821,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-01T02:00:09.058Z","response_time":120,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-22T21:18:13.110Z","updated_at":"2025-09-01T07:39:28.783Z","avatar_url":"https://github.com/OSSystems.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Installing\n\n```\n$ git clone https://github.com/OSSystems/ssh-tunnel-server.git\n$ cd ssh-tunnel-server\n$ docker-compose build\n```\n\n# Setup\n\n* Add the device public key to ./ssh-forward/ssh/authorized_keys\n  * You will need to store the private key on your local machine -- the one that you will use to access the remove device\n* Add the server private key to ./ssh-gateway/key.pem\n* Open the following Ports for Inbound Traffic\n\nPort | Type | Protocol Description\n-----|----------|---------------------\n22 | TCP | SSH for device connnection\n32768 - 60999 | TCP | Incoming Device Port\n1883 | TCP | MQTT\n2221-2222 | TCP | SSH for server-tunner-server manual connection\n\n* NOTE: Change SSHD config from Port 22 to 2222\n```\nsudo vi /etc/ssh/sshd_config\n# uncomment # Port 22 and then change 22 to 2222\n# save and exit sshd_config file\n# restart sshd service\nsudo systemctl restart sshd\n```\n\n# Running\n\nTo have the containers run in daemon mode (not print out the log outputs)\n```\ndocker-compose start\n```\n\nThis prints out the logs of each container and does not run in the background\n```\ndocker-compose up\n```\n\n# Example Connection\n\n```\nssh gateway.kcam-service.com -l root@my-remote-device\n```\n\n### Notes:\n\n* hostname is case-sensitive (E.g. my-remote-device).\n* 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\nThis key grants you access to the ssh-tunnel-server\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fossystems%2Fssh-tunnel-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fossystems%2Fssh-tunnel-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fossystems%2Fssh-tunnel-server/lists"}