{"id":15437920,"url":"https://github.com/tchapi/node-simple-ssh-tunnel","last_synced_at":"2026-05-19T03:15:12.915Z","repository":{"id":147703151,"uuid":"109420438","full_name":"tchapi/node-simple-ssh-tunnel","owner":"tchapi","description":"A simple wrapper for SSH tunnelling","archived":false,"fork":false,"pushed_at":"2017-11-08T16:39:52.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-28T06:27:39.838Z","etag":null,"topics":["nodejs","ssh","ssh-tunnel"],"latest_commit_sha":null,"homepage":"https://www.foobarflies.io/tunnel-all-the-things/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tchapi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2017-11-03T16:50:09.000Z","updated_at":"2017-11-08T16:39:53.000Z","dependencies_parsed_at":"2023-06-27T17:01:41.822Z","dependency_job_id":null,"html_url":"https://github.com/tchapi/node-simple-ssh-tunnel","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tchapi/node-simple-ssh-tunnel","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tchapi%2Fnode-simple-ssh-tunnel","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tchapi%2Fnode-simple-ssh-tunnel/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tchapi%2Fnode-simple-ssh-tunnel/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tchapi%2Fnode-simple-ssh-tunnel/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tchapi","download_url":"https://codeload.github.com/tchapi/node-simple-ssh-tunnel/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tchapi%2Fnode-simple-ssh-tunnel/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265577966,"owners_count":23791270,"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","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":["nodejs","ssh","ssh-tunnel"],"created_at":"2024-10-01T18:59:44.646Z","updated_at":"2026-05-19T03:15:12.896Z","avatar_url":"https://github.com/tchapi.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"Simple SSH tunnel for Node\n---\n\n\u003e This script has no dependency on other Node modules.\n\nSee the article at https://tchap.me/blog/tunnel-all-the-things/\n\n#### Usage :\n\n    const tunnel = require('ssh_tunnel')\n    \n    tunnel.setConfig({\n        user: \"tunnel_user\",\n        server: \"central.example.org\",\n        port: 22,\n        timeout: 10000, // in milliseconds\n        verbose: true // will output logs to the console if true\n    })\n    \n    tunnel.start(function() {\n        console.log(tunnel.getState())\n        \n        // Later ...\n        tunnel.stop()\n    }, function() {\n        console.log(\"There has been an error ...\")\n    })\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftchapi%2Fnode-simple-ssh-tunnel","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftchapi%2Fnode-simple-ssh-tunnel","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftchapi%2Fnode-simple-ssh-tunnel/lists"}