Assume I have an IRC server running on a linux box and the only way to get to that box is over ssh. I don't want to open any ports to the world, I just want folks with logins on that server to be able to connect to the IRC server running on that host.
I could always ssh to the server and forward some ports over SSH. Is there a better way? Are there IRC clients that will let me install my private key and then forward the IRC ports for me?
I imagine you should be able to write a script in many clients that will execute a command line to open a SSH connection with port forwarding, then connect to the appropriate port at localhost.