The following example tunnels an IRC session from client machine ``127.0.0.1'' (localhost) to remote server ``server.example.com'': $ ssh -f -L 1234:localhost:6667 server.example.com sleep 10 $ irc -c '#users' -p 1234 pinky 127.0.0.1