Skip to content

Instantly share code, notes, and snippets.

@m-rey
Last active May 11, 2021 03:01
Show Gist options
  • Save m-rey/2faae88acb4fb8cc844bf654e18e3709 to your computer and use it in GitHub Desktop.
Save m-rey/2faae88acb4fb8cc844bf654e18e3709 to your computer and use it in GitHub Desktop.
Guide to setup irc with tmux on a server as a pseudo bouncer.
initial setup:
1. ssh into your server and create a new tmux session called irc:
$> ssh -t $user@$server tmux new -A -s irc
2. Run an irc client of your choice like irssi or weechat:
$> weechat
3. Configure the client to your liking.
Use the shortcut C-b d to detach from the tmux session. The ssh
connection will close.
To attach to the irc tmux session, use:
$> ssh -t $user@$server tmux new -A -s irc
I've aliased the last command to "irc":
$> alias irc="ssh -t $user@$server tmux new -A -s irc"
Add it to the .bashrc if you like.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment