powered by Jive Software

Ssh tunnel error

Hi,

I’m trying to establish a TCP tunnel in XMPP using smack (v. 3.3.1) and this library https://code.google.com/p/socket-jabber-socket/

A simple test forwarding the incoming connection to www.google.com:80 works fine.

But trying some more interesting like forwarding to localhost:22 (ssh server) is very slow and unstable, it crash very soon (immediately or after a few commands):

Received disconnect from ::1: 2: Packet corrupt

Am I missing some configuration ?

Or tunnelling ssh protocol is not supported ?

Thanks

Francesco