You are trying to run 'filename' as a program/shell. Probably NOT what you want. If you are trying to edit that file, you should say 'ssh -Y me@there 'emacs Documents/filename' To log in and run the editor THERE and have it display HERE: ssh -Y me@there emacs Documents/filename openoffice Documents/filename whatever Documents/filename exit Rusty From: plug-discuss-bounces@lists.plug.phoenix.az.us [mailto:plug-discuss-bounces@lists.plug.phoenix.az.us] On Behalf Of Michael Havens Sent: Monday, April 30, 2012 2:55 PM To: Main PLUG discussion list Subject: Re: x forwarding ssh Xforwarding is set to 'yes' but it keeps telling me 'Name or service not known'. The command I'm issueing is: ssh -Y @192.168.0.3:/home//Documents/ On Mon, Apr 30, 2012 at 2:34 PM, Matt Graham wrote: From: "Carruth, Rusty" > First, edit your .ssh config file to allow x11 forwarding. The remote machine's /etc/ssh/sshd_config file must have "X11Forwarding yes" in it, I thought. sshd's default is to set that to no, isn't it? > Then, 'ssh -X me@overthere' And if that doesn't work, try "ssh -Y remotemachine" since -X can run afoul of one of X's security extensions. At least that's what the man page said, and I had some trouble using -X a while back while -Y worked. > Done. Just do NOT change 'DISPLAY' on the remote machine (which will > look something like "localhost:10.0" IIRC). Yep. -- Matt G / Dances With Crows The Crow202 Blog: http://crow202.org/wordpress/ There is no Darkness in Eternity/But only Light too dim for us to see --------------------------------------------------- PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us To subscribe, unsubscribe, or to change your mail settings: http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss -- :-)~MIKE~(-: