x forwarding ssh
Carruth, Rusty
Rusty.Carruth at smartstoragesys.com
Mon Apr 30 15:02:35 MST 2012
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 at there
'emacs Documents/filename'
To log in and run the editor THERE and have it display HERE:
ssh -Y me at there
<you log in to 'there'>
emacs Documents/filename
openoffice Documents/filename
whatever Documents/filename
exit
Rusty
From: plug-discuss-bounces at lists.plug.phoenix.az.us
[mailto:plug-discuss-bounces at 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 <user>@192.168.0.3:/home/<user>/Documents/<filename>
On Mon, Apr 30, 2012 at 2:34 PM, Matt Graham <danceswithcrows at usa.net>
wrote:
From: "Carruth, Rusty" <Rusty.Carruth at smartstoragesys.com>
> 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 at 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 at 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~(-:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.PLUG.phoenix.az.us/pipermail/plug-discuss/attachments/20120430/103e6b59/attachment.html>
More information about the PLUG-discuss
mailing list