https://github.com/shazow/ssh-chat Skip to content Sign up * Product + Features + Mobile + Actions + Codespaces + Packages + Security + Code review + Issues + Integrations + GitHub Sponsors + Customer stories * Team * Enterprise * Explore + Explore GitHub + Learn and contribute + Topics + Collections + Trending + Skills + GitHub Sponsors + Open source guides + Connect with others + The ReadME Project + Events + Community forum + GitHub Education + GitHub Stars program * Marketplace * Pricing + Plans + Compare plans + Contact Sales + Education [ ] * # In this repository All GitHub | Jump to | * No suggested jump to results * # In this repository All GitHub | Jump to | * # In this user All GitHub | Jump to | * # In this repository All GitHub | Jump to | Sign in Sign up {{ message }} shazow / ssh-chat Public * * Notifications * Fork 391 * Star 4.7k Chat over SSH. shazow.net/posts/ssh-how-does-it-even/ License MIT license 4.7k stars 391 forks Star Notifications * Code * Issues 47 * Pull requests 6 * Actions * Projects 0 * Wiki * Security * Insights More * Code * Issues * Pull requests * Actions * Projects * Wiki * Security * Insights shazow/ssh-chat This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository. master Switch branches/tags [ ] Branches Tags Could not load branches Nothing to show {{ refName }} default View all branches Could not load tags Nothing to show {{ refName }} default View all tags 15 branches 20 tags Code Latest commit @shazow shazow Merge pull request #410 from pataquets/master ... 68e9d68 Mar 7, 2022 Merge pull request #410 from pataquets/master Docker Compose manifest: mount host's keys and few other improvements. 68e9d68 Git stats * 574 commits Files Permalink Failed to load latest commit information. Type Name Latest commit message Commit time .github chat cmd/ssh-chat internal set sshd .gitignore .travis.yml CODE_OF_CONDUCT.md CONTRIBUTING.md Dockerfile Gopkg.lock Gopkg.toml LICENSE Makefile NOTICE README.md auth.go auth_test.go build_release docker-compose.yml go.mod go.sum godoc.go host.go host_test.go identity.go logger.go motd.txt View code ssh-chat Demo Downloading a release Compiling / Developing Quick Start Frequently Asked Questions License README.md Build Status GoDoc Downloads Bountysource ssh-chat Custom SSH server written in Go. Instead of a shell, you get a chat prompt. Demo Join the party: $ ssh ssh.chat Please abide by our project's Code of Conduct while participating in chat. The host's public key is ssh.chat ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKPrQofxXqoz2y9A7NFkkENt6iW8/mvpfes3RY/41Oyt and the fingerprint is SHA256:yoqMXkCysMTBsvhu2yRoMUl+EmZKlvkN+ZKmL3115xU (as of 2021-10-13). If you see something different, you might be MITM'd. (Apologies if the server is down, try again shortly.) Downloading a release Recent releases include builds for MacOS (darwin/amd64) and Linux (386, amd64, and ARM6 for your RaspberryPi). Grab the latest binary release here. Play around with it. Additional deploy examples are here. Compiling / Developing Most people just want the latest binary release. If you're sure you want to compile it from source, read on: You can compile ssh-chat by using make build. The resulting binary is portable and can be run on any system with a similar OS and CPU arch. Go 1.8 or higher is required to compile. If you're developing on this repo, there is a handy Makefile that should set things up with make run. Additionally, make debug runs the server with an http pprof server. This allows you to open http://localhost:6060/debug/pprof/ and view profiling data. See net/http/pprof for more information about pprof. Quick Start Usage: ssh-chat [OPTIONS] Application Options: -v, --verbose Show verbose logging. --version Print version and exit. -i, --identity= Private key to identify server with. (default: ~/.ssh/id_rsa) --bind= Host and port to listen on. (default: 0.0.0.0:2022) --admin= File of public keys who are admins. --whitelist= Optional file of public keys who are allowed to connect. --motd= Optional Message of the Day file. --log= Write chat log to this file. --pprof= Enable pprof http server for profiling. Help Options: -h, --help Show this help message After doing go get github.com/shazow/ssh-chat/... on this repo, you should be able to run a command like: $ ssh-chat --verbose --bind ":22" --identity ~/.ssh/id_dsa To bind on port 22, you'll need to make sure it's free (move any other ssh daemons to another port) and run ssh-chat as root (or with sudo). Frequently Asked Questions The FAQs can be found on the project's Wiki page. Feel free to submit more questions to be answered and added to the page. License MIT About Chat over SSH. shazow.net/posts/ssh-how-does-it-even/ Topics chat ssh server ssh-chat Resources Readme License MIT license Code of conduct Code of conduct Stars 4.7k stars Watchers 117 watching Forks 391 forks Releases 12 v1.10 Latest Aug 3, 2020 + 11 releases Sponsor this project Sponsor Learn more about GitHub Sponsors Packages 0 No packages published Used by 19 * @gnoppix * @matterbridge * @AJolly * @dracco1993 * @lineageos-infra * @minecraftchest1 * @Mikaela * @SuperSandro2000 + 11 Contributors 50 * @shazow * @wpovell * @Kealper * @UlisseMini * @IQAndreas * @sleibrock * @voldyman * @peterhellberg * @jazzychad * @pavelz * @SamMauldin + 39 contributors Languages * Go 98.1% * Other 1.9% * (c) 2022 GitHub, Inc. * Terms * Privacy * Security * Status * Docs * Contact GitHub * Pricing * API * Training * Blog * About You can't perform that action at this time. You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.