https://github.com/erikh/trade
A SSH -> telnet proxy, primarily for tradewars.
https://github.com/erikh/trade
Last synced: 4 months ago
JSON representation
A SSH -> telnet proxy, primarily for tradewars.
- Host: GitHub
- URL: https://github.com/erikh/trade
- Owner: erikh
- Created: 2020-04-09T01:43:14.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-06-07T15:53:27.000Z (about 6 years ago)
- Last Synced: 2025-05-08T00:51:33.396Z (about 1 year ago)
- Language: Go
- Size: 259 KB
- Stars: 8
- Watchers: 5
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# trade: ssh -> telnet proxy with bonus sugar
trade is intended to connect to Tradewars 2002 servers. It performs a number of
features which make tradewars playable on a modern computer:

This image is taken from a standard SSH connection through `trade` inside
of `putty`.
Some features of `trade`:
* Multiple connections, same proxy -- all connections route to the same telnet
session.
* translates DOS Code Page 437 to UTF-8, including line drawing characters.
Works great with putty default settings over SSH, or most modern terminals
with openssh.
* operates over SSH (telnet is still used to connect to tradewars)
* Menu for controlling your sessions (press `^E` in a session to escape to the menu)
* *COMING SOON* expect-like scripting capabilities with mruby
* *COMING SOON* outbound ssh support for controlling things that are not tradewars!
## Usage
```bash
$ go get github.com/erikh/trade
$ trade gen # generates a host key in ~/.config/trade/host_key
$ trade &
$ ssh -p 2002 localhost
```
After connecting with SSH, you can press enter or `?` to get a menu. Press `c` to connect
to a server (try `home.hollensbe.org:2002`!) or `s` to shutdown the server.
## Author
Erik Hollensbe