Jump to content

User:Int 80h/files/irccon.sh

From Wikipedia, the free encyclopedia

Connect to Irssi Proxy through a SSH Proxt with many ports.

#!/bin/zsh

# 65401 IRCnet
# 65402 AfterNET
# 65403 hackint
# 65404 Undernet
# 65405 freenode
# 65406 euIRCnet

ssh polemon@polemon.org \
    -L 0.0.0.0:65401:polemon.org:65401 \
    -L 0.0.0.0:65402:polemon.org:65402 \
    -L 0.0.0.0:65403:polemon.org:65403 \
    -L 0.0.0.0:65404:polemon.org:65404 \
    -L 0.0.0.0:65405:polemon.org:65405 \
    -L 0.0.0.0:65406:polemon.org:65406 \
    -t tmux a -d