{"id":13472115,"url":"https://github.com/zachlatta/sshtron","last_synced_at":"2025-05-15T13:08:36.324Z","repository":{"id":40617280,"uuid":"53235287","full_name":"zachlatta/sshtron","owner":"zachlatta","description":"$ ssh sshtron.zachlatta.com","archived":false,"fork":false,"pushed_at":"2023-07-17T01:48:13.000Z","size":459,"stargazers_count":2119,"open_issues_count":10,"forks_count":105,"subscribers_count":38,"default_branch":"master","last_synced_at":"2025-04-15T05:32:44.225Z","etag":null,"topics":["game","go","ssh"],"latest_commit_sha":null,"homepage":"http://sshtron.zachlatta.com","language":"Go","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/zachlatta.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}},"created_at":"2016-03-06T03:15:11.000Z","updated_at":"2025-04-11T03:41:55.000Z","dependencies_parsed_at":"2024-01-13T22:09:08.410Z","dependency_job_id":null,"html_url":"https://github.com/zachlatta/sshtron","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zachlatta%2Fsshtron","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zachlatta%2Fsshtron/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zachlatta%2Fsshtron/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zachlatta%2Fsshtron/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zachlatta","download_url":"https://codeload.github.com/zachlatta/sshtron/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254346624,"owners_count":22055808,"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":["game","go","ssh"],"created_at":"2024-07-31T16:00:52.030Z","updated_at":"2025-05-15T13:08:31.314Z","avatar_url":"https://github.com/zachlatta.png","language":"Go","funding_links":[],"categories":["Go","Table of Contents","\u003ca name=\"games\"\u003e\u003c/a\u003eGames","Repositories"],"sub_categories":[],"readme":"# ![SSHTron](https://cdn.rawgit.com/zachlatta/sshtron/master/logo.svg)\n\nSSHTron is a multiplayer lightcycle game that runs through SSH. Just run the command below and you'll be playing in seconds:\n\n    $ ssh sshtron.zachlatta.com\n\n_Controls: WASD or vim keybindings to move (**do not use your arrow keys**). Escape or Ctrl+C to exit._\n\n![Demo](static/img/gameplay.gif)\n\n**Code quality disclaimer:** _SSHTron was built in ~20 hours at [BrickHack 2](https://brickhack.io/). Here be dragons._\n\n## Want to choose color yourself?\n\nThere are total 7 colors to choose from: Red, Green, Yellow, Blue, Magenta, Cyan and White\n\n    $ ssh red@sshtron.zachlatta.com\n\nIf the color you picked is already taken in all open games, you'll randomly be assigned a color.\n\n## Running Your Own Copy\n\nClone the project and `cd` into its directory. These instructions assume that you have your `GOPATH` setup correctly.\n\n```sh\n# Create an RSA public/private keypair in the current directory for the server\n# to use. Don't give it a passphrase.\n$ ssh-keygen -t rsa -f id_rsa\n\n# Download dependencies and compile the project\n$ go get \u0026\u0026 go build\n\n# Run it! You can set PORT to customize the HTTP port it serves on and SSH_PORT\n# to customize the SSH port it serves on.\n$ ./sshtron\n```\n\n## Running under a Docker container\n\nClone the project and `cd` into its directory.\n\n```sh\n# Build the SSHTron Docker image\n$ docker build -t sshtron .\n\n# Spin up the container with always-restart policy\n$ docker run -t -d -p 2022:2022 --restart always --name sshtron sshtron\n```\n\nFor Raspberry Pi, use the following to build the Docker image:\n\n```sh\n$ docker build -t sshtron --build-arg BASE_IMAGE=resin/raspberry-pi-golang:latest .\n```\n\n## CVE-2016-0777\n\n[CVE-2016-0777](https://www.qualys.com/2016/01/14/cve-2016-0777-cve-2016-0778/openssh-cve-2016-0777-cve-2016-0778.txt)\nrevealed two SSH client vulnerabilities that can be exploited by a malicious SSH server. While SSHTron does not exploit\nthese vulnerabilities, you should still patch your client before you play. SSHTron is open source, but the server\ncould always be running a modified version of SSHTron that does exploit the vulnerabilities described\nin [CVE-2016-0777](https://www.qualys.com/2016/01/14/cve-2016-0777-cve-2016-0778/openssh-cve-2016-0777-cve-2016-0778.txt).\n\nIf you haven't yet patched your SSH client, you can follow\n[these instructions](https://www.jacobtomlinson.co.uk/quick%20tip/2016/01/15/fixing-ssh-vulnerability-CVE-2016-0777/) to do so now.\n\n## License\n\nSSHTron is licensed under the MIT License. See the full license text in [`LICENSE`](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzachlatta%2Fsshtron","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzachlatta%2Fsshtron","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzachlatta%2Fsshtron/lists"}