The only way I know of to do this is using socat over ssh such as in this example:http://www.debian-administration.org/users/dkg/weblog/68