How to print over ssh?

Posted by mit on Ask Ubuntu See other posts from Ask Ubuntu or by mit
Published on 2011-02-14T23:55:23Z Indexed on 2011/02/15 7:33 UTC
Read the original article Hit count: 277

Filed under:
|
|
|

I have the following configuration:

P == U ---------------- W

P is a HP Laserjet, connected to U, which is an Ubuntu 10.04 desktop machine with a standard gnome setup from the live cd. I just selected the HP Laserjet in the gnome printer admin and it works, I can print locally.

W is a remote windows machine, server 2003, and --- is an untrusted connection.

I wonder if I can create an ssh tunnel between U and W, so W can print using U's printer service. Which ports will I need to forward and what kind of printer must I add then on the windows machine?

© Ask Ubuntu or respective owner

Related posts about ssh

Related posts about printer