repository
0.0.0-20210813054114-494d6a6c744e
Repository: https://github.com/n7down/ssh-chess.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
# README
ssh-chess
ssh-chess is a chess server that runs through the SSH protocol
Getting Started
- Clone this project and
cd
into it - 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 - Run
go get -v -d ./...
- Run
PORT=2022 go run cmd/ssh-chess/main.go
the ssh server should be running on port2022
- Run
ssh <username>@localhost -p 2022
to play chess in a random room
Connecting to Rooms
- Running
ssh <username>@server -p 2022
will connect a user to a random room - Running
ssh <username>#<room-name>@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 theroom-name