On Tue, Dec 18, 2012 at 2:09 PM, Steven S. Critchfield <[email protected]>wrote:
> instead of opening up cups to the world, why not use port forwarding in > ssh to only have access if they pass a user and pass for ssh first. > > For instance, I use ssh -D23456 critch@remotehost At this point I can > use localhost:23456 as a socks 5 proxy to anywhere the remotehost can hit, > including it's localhost. > > ----- Original Message ----- > > Many thanks to all that suffer my simpleton sysadmin questions. > > Hopefully they serve more than just my fumbling around. > > > > Have a customer server installed in an unstable network environment > > where network printers go "disabled" from time to time. The quickest > > resolution I've found has been to connect to the server:631 cups > > manager and resume the printer. Would like to make this available to > > the manager on site. > > > > At this point, I am connecting to the server with RDP and then putting > > the URL of localhost:631 into the browser. If I try to connect from > > another server (Windows or linux) within the LAN, the connection to > > <ip address>:631 is not made. Running iptables-save | less shows null. > > > > I'm missing one step of seven to get the pizza... > > > > Howard > > > -- > Steven Critchfield [email protected] If you are just wanting to connect to the remote CUPS server through SSH without mucking with proxies, you can do: ssh -L 12345:localhost:631 user@server And connect in your local browser to http://localhost:12345. (If 12345 doesn't strike your fancy, choose another port not in use on your local computer.) If you are wanting the remote end to take responsibility for restarting the printers, then you probably are looking to grant people rights in CUPS for the printers.... Something I have not tackled, but should be easy enough to do. Paul -- You received this message because you are subscribed to the Google Groups "NLUG" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nlug-talk?hl=en
