Skip to main content
Topic: Chat over SSH (Read 1160 times) previous topic - next topic

Chat over SSH

SSH-Chat made by someone named Shazow


Custom SSH server written in Go. Instead of a shell, you get a chat prompt.
  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:
      --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

Commands in chat include but are not limited to:
/exit - exit the chat
/names - Lists usernames that are currently connected
/theme - Choose a theme - there are several
/msg - Send a private message
/reply - reply to a private message
/whois - View more info about a username currently connected

It's cool and works well.
In a way it's very accessible because it's via SSH, but it's not as simple to use as something like Signal.
Custom options are nice, you can:
  • Create a whitelist of pub keys to limit connections, have a private chatroom
  • Create a custom motd that prints when someone connects
  • Have people moderate or administrate
Careful what you say when you connect to a server as it may or may not be logged!