https://github.com/n7down/ssh-chess
Chess over a ssh connection
https://github.com/n7down/ssh-chess
chess chess-game ssh ssh-server
Last synced: 2 months ago
JSON representation
Chess over a ssh connection
- Host: GitHub
- URL: https://github.com/n7down/ssh-chess
- Owner: n7down
- License: mit
- Created: 2019-03-25T18:12:17.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2023-03-07T03:24:24.000Z (about 3 years ago)
- Last Synced: 2024-06-20T12:39:23.758Z (almost 2 years ago)
- Topics: chess, chess-game, ssh, ssh-server
- Language: Go
- Homepage:
- Size: 68.4 KB
- Stars: 17
- Watchers: 0
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ssh-chess
ssh-chess is a chess server that runs through the SSH protocol

## Getting Started
1. Clone this project and `cd` into it
2. Run `ssh-keygen -t rsa -f id_rsa` to create a RSA public/private keypair in the current directory for the server to use. Do not give it a passphrase
3. Run `go get -v -d ./...`
4. Run `PORT=2022 go run cmd/ssh-chess/main.go` the ssh server should be running on port `2022`
5. Run `ssh @localhost -p 2022` to play chess in a random room
## Connecting to Rooms
- Running `ssh @server -p 2022` will connect a user to a random room
- Running `ssh #@server -p 2022` will connect a user to a named room - use this if you want to play a specific user by giving that user the `room-name`