{"id":13588899,"url":"https://github.com/nwtgck/piping-ssh-web","last_synced_at":"2025-03-23T00:08:11.080Z","repository":{"id":44679122,"uuid":"312313812","full_name":"nwtgck/piping-ssh-web","owner":"nwtgck","description":"SSH over HTTPS via Piping Server on Web browser","archived":false,"fork":false,"pushed_at":"2024-09-17T20:38:31.000Z","size":15617,"stargazers_count":102,"open_issues_count":11,"forks_count":4,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-10-29T12:23:34.121Z","etag":null,"topics":["piping-server","ssh","ssh-client","wasm","web","webassembly"],"latest_commit_sha":null,"homepage":"https://piping-ssh.nwtgck.org","language":"Vue","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/nwtgck.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":"2020-11-12T15:13:58.000Z","updated_at":"2024-10-21T11:38:31.000Z","dependencies_parsed_at":"2023-02-02T20:32:08.121Z","dependency_job_id":"2115fe92-1eb7-4333-bfa2-c9f4ecbf6d47","html_url":"https://github.com/nwtgck/piping-ssh-web","commit_stats":{"total_commits":279,"total_committers":9,"mean_commits":31.0,"dds":0.5842293906810037,"last_synced_commit":"bf93970e0aa753de07a56e710434723ff7057329"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nwtgck%2Fpiping-ssh-web","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nwtgck%2Fpiping-ssh-web/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nwtgck%2Fpiping-ssh-web/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nwtgck%2Fpiping-ssh-web/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nwtgck","download_url":"https://codeload.github.com/nwtgck/piping-ssh-web/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244894319,"owners_count":20527676,"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":["piping-server","ssh","ssh-client","wasm","web","webassembly"],"created_at":"2024-08-01T15:07:00.802Z","updated_at":"2025-03-23T00:08:11.035Z","avatar_url":"https://github.com/nwtgck.png","language":"Vue","funding_links":[],"categories":["Vue"],"sub_categories":[],"readme":"# piping-ssh\nSSH over HTTPS via [Piping Server] on browser.  \n\n\u003chttps://piping-ssh.nwtgck.org\u003e\n\nWe often want to access applications on our remote machine. But some environments have NATs or difficulties with opening a port to the public and getting a static IP. There is a way to forward a port over HTTPS with high transparency. This project aims to provide an SSH client that works on the browser and is compatible with the highly transparent way.\n\n\u003cimg src=\"https://github.com/nwtgck/piping-ssh-web/assets/10933561/4ca90e1b-75f4-43ac-8fd8-7ddd93d8a8bb\" width=\"600\" alt=\"SSH over pure HTTPS via Piping Server\"\u003e\n\n\nOn the SSH server side, you can simply run the following command.\n```bash\ncurl -sSN https://ppng.io/aaa | nc localhost 22 | curl -sSNT - https://ppng.io/bbb\n```\n\nThe command above consists only of `curl` and `nc`, which are widely used and trusted. These commands are likely to already be installed on your machine.\n\n## Security\n* SSH things are processed only in the browser without any server.\n* Go language (`golang.org/x/crypto/ssh`) and WebAssembly are used.\n* The connection between the browser and the SSH server are end-to-end encrypted.\n* The connection between the browser and [Piping Server] is also encrypted in transit with HTTPS.\n* The running command on the SSH server side is highly transparent, so you can easily understand what they are doing.\n\n## SSH key generation\nYou can generate SSH keys only in the browser without any server.\n* RSA 2048 bits\n* RSA 4096 bits\n* Ed25519\n\n\u003cimg src=\"https://github.com/nwtgck/piping-ssh-web/assets/10933561/2d4fb37b-8cf7-4a72-a3dc-a3f93af1010c\" width=\"600\" alt=\"SSH key generation in browser\"\u003e\n\nYou can also manage keys generated by `ssh-keygen` command with or without a passphrase.\n\n## URL fragment parameters\nYou can store the configuration in the URL. All the parameters are in the URL fragment so they are never sent to the web server.\n\u003cimg src=\"https://github.com/nwtgck/piping-ssh-web/assets/10933561/3c7caa52-b643-4c12-a7d5-022b900f530d\" width=\"600\" alt=\"piping-ssh-web with URL fragment parameters\"\u003e\n\ne.g. \u003chttps://piping-ssh.nwtgck.org/#?user=myuser\u0026password=mypass\u0026s_port=22\u0026cs_path=aaa\u0026sc_path=bbb\u003e\n\n* `user`: SSH user name\n* `password`: SSH user password\n* `server`: Piping Server URL\n* `cs_path`: Server-to-client path\n* `sc_path`: Client-to-server path\n* `auto_connect`: Connect automatically\n* `s_port`: SSH Server port for command hint\n* `headers`: HTTP headers to Piping Server\n    - (e.g. `[[\"X-MyExtra1\", \"myvalue1\"], [\"Content-Type\", \"application/myapp\"]]`)\n\n## Requirement\nThis project requires Google Chrome 105 or higher for [fetch() upload streaming](https://www.chromestatus.com/feature/5274139738767360) feature.\nYou can also use Chromium-based browsers.\n\n## Previous version using SSHy\nThis project used to highly based on [SSHy] before Go language and WebAssembly were used.  \nSSHy version: \u003chttps://6453204af3b3fc3555e79371--piping-ssh.netlify.app\u003e\n\n## Acknowledgements\nThe idea of tunneling over [Piping Server] was proposed by [@Cryolite](https://github.com/Cryolite) in a Japanese post, \u003chttps://qiita.com/Cryolite/items/ed8fa237dd8eab54ef2f\u003e. Thanks!\n\n[Piping Server]: https://github.com/nwtgck/piping-server\n[SSHy]: https://github.com/stuicey/SSHy\n\n## Self-hosting Piping Server\nIt is easy to use Replit and fork \u003chttps://replit.com/@nwtgck/piping\u003e to host Piping Server for free. You can see \u003chttps://github.com/nwtgck/piping-server/wiki/How-to-self-host-Piping-Server\u003e to get other ways.\n\n## References\n* \u003chttps://dev.to/nwtgck/secure-tcp-tunnel-from-anywhere-with-curl-and-nc-for-single-connection-2k5i\u003e\n* \u003chttps://dev.to/nwtgck/the-power-of-pure-http-screen-share-real-time-messaging-ssh-and-vnc-5ghc\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnwtgck%2Fpiping-ssh-web","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnwtgck%2Fpiping-ssh-web","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnwtgck%2Fpiping-ssh-web/lists"}