set up irssi on on a screen on your desktop or server and use X-Terminal to connect to it using SSH. More info