Last active
May 11, 2021 03:01
-
-
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.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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