Quoting Clay Fandre (clay at fandre.com):
> That should work since jabber uses a single connection for everything. What problems are you having? Add the -v option to ssh to get more info. Are you sure that's the correct port?
> 
> BTW, you can use -N option to just forward ports.
> 
>  -N      Do not execute a remote command.  This is useful if you just want
>              to forward ports (protocol version 2 only).

Yeah, I used the -v, here is the result.

debug1: Connection to port 5222 forwarding to jabber.com port 5222 requested.
debug1: fd 5 setting O_NONBLOCK
debug1: fd 5 IS O_NONBLOCK
debug1: channel 1: new [direct-tcpip]
debug1: channel 1: open confirm rwindow 32768 rmax 16384

Just hangs forever.

-- 
Minneapolis St. Paul Twin Cities MN        | Phone : (952)943-8700
http://www.mn-linux.org Minnesota Linux    | Fax   : (952)943-8500
Key fingerprint =  6C E9 51 4F D5 3E 4C 66 62 A9 10 E5 35 85 39 D9