[email protected] wrote:
> On Fri, Mar 05, 2010 at 10:06:45PM -0500, stosss wrote:
>> On Friday, March 5, 2010, brown wrap <[email protected]> wrote:
>>>
>>>> ssh -X u...@yourip xterm
>> ssh - Y yourip

There are two places that need to coordinate.

On the the server, look at /etc/ssh/sshd_config.  You should have the 
settings

X11Forwarding yes
XAuthLocation /usr/bin/xauth
PermitRootLogin no

The last is a security measure.  Never log in as root remotely, no 
matter how sure you are.  You can always use su or sudo.


On the client, configuration file, ~.ssh/config, I use:

Host *

# Global
ServerAliveInterval 45
ServerAliveCountMax 10
Protocol 2
ForwardX11 yes

You can use 'ssh -X server', but it's easier just to set up the config file.

If you need to debug your settings, try 'ssh -vv server'

You do not need to have an xserver running on the remote sshd server.

   -- Bruce
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to