Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
X11 Forwarding over SSH
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Evilguru
Guru
Guru


Joined: 16 Aug 2005
Posts: 390
Location: England

PostPosted: Thu May 04, 2006 4:27 pm    Post subject: X11 Forwarding over SSH Reply with quote

For a while now I have been using ssh forwarding to allow me to tunnel X to another computer. However, I have not used it in the last few weeks, and when I tried it today I did a:
Code:

freddie@macserv:~$ ssh -YC freddie@192.168.0.2
Password:
Last login: Thu May  4 17:18:11 2006 from 192.168.0.5
freddie@genware ~ $ gimp
GIMP could not initialize the graphical user interface.
Make sure a proper setup for your display environment exists.

But I have not changed a thing in any of my config files so am not sure why this is happening. Here is my ssh config file (/etc/ssh/ssh_config):
Code:

#       $OpenBSD: ssh_config,v 1.21 2005/12/06 22:38:27 reyk Exp $

# This is the ssh client system-wide configuration file.  See
# ssh_config(5) for more information.  This file provides defaults for
# users, and the values can be changed in per-user configuration files
# or on the command line.

# Configuration data is parsed as follows:
#  1. command line options
#  2. user-specific file
#  3. system-wide file
# Any configuration value is only changed the first time it is set.
# Thus, host-specific definitions should be at the beginning of the
# configuration file, and defaults at the end.

# Site-wide defaults for some commonly used options.  For a comprehensive
# list of available options, their meanings and defaults, please see the
# ssh_config(5) man page.

# Host *
#   ForwardAgent no
   ForwardX11 yes
   X11Forwarding yes
#   RhostsRSAAuthentication no
#   RSAAuthentication yes
#   PasswordAuthentication yes
#   HostbasedAuthentication no
#   BatchMode no
#   CheckHostIP yes
#   AddressFamily any
#   ConnectTimeout 0
#   StrictHostKeyChecking ask
#   IdentityFile ~/.ssh/identity
#   IdentityFile ~/.ssh/id_rsa
#   IdentityFile ~/.ssh/id_dsa
#   Port 22
#   Protocol 2,1
#   Cipher 3des
#   Ciphers aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour,aes192-cbc,aes256-cbc
#   EscapeChar ~
   Tunnel yes
#   TunnelDevice any:any
#   PermitLocalCommand no

I have no idea why this is happening and have tried restarting sshd as well, with no luck.

Can anyone help me?
Back to top
View user's profile Send private message
Cinquero
Apprentice
Apprentice


Joined: 24 Jun 2004
Posts: 249

PostPosted: Thu May 04, 2006 4:48 pm    Post subject: Reply with quote

Try that in sshd_config, not ssh_config :-)))
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum