PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Serveur - Sécurité et techniques > comp.security.ssh > X11 forwarding over proxied connection.
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
comp.security.ssh SSH secure remote login and tunneling tools.

X11 forwarding over proxied connection.

Réponse
 
LinkBack Outils de la discussion
Vieux 07/11/2006, 22h54   #1
Todd A. Anderson
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut X11 forwarding over proxied connection.

I can do "ssh -X foo" where foo is a local machine on the same network and
from
there forward X back to my desktop. However, I have another machine that I
have to access using a proxy:

ssh -X -o "ProxyCommand ./connect.exe -S socks-proxy:1080 other_machine 22"
other_machine

After I login this way, my DISPLAY variable is set correctly
(localhost:10.0) but when
I try to start an X session it says nu usable address for localhost:6010 and
also
Error: can't open display: localhost:10.0

I assume this has something to do with the proxy. Anyway to get X working
through the
proxy?

thanks,

Todd


  Réponse avec citation
Vieux 08/11/2006, 01h55   #2
Richard E. Silverman
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: X11 forwarding over proxied connection.

>>>>> "TAD" == Todd A Anderson <drtodd13@comcast.N0SPAM.net> writes:

TAD> I can do "ssh -X foo" where foo is a local machine on the same
TAD> network and from there forward X back to my desktop. However, I
TAD> have another machine that I have to access using a proxy:

TAD> ssh -X -o "ProxyCommand ./connect.exe -S socks-proxy:1080
TAD> other_machine 22" other_machine

TAD> After I login this way, my DISPLAY variable is set correctly
TAD> (localhost:10.0) but when I try to start an X session it says nu
TAD> usable address for localhost:6010 and also Error: can't open
TAD> display: localhost:10.0

TAD> I assume this has something to do with the proxy. Anyway to get
TAD> X working through the proxy?

TAD> thanks,

TAD> Todd

It shouldn't have anything to do with the proxy. Try using 127.0.0.1
instead of "localhost".

--
Richard Silverman
res@qoxp.net

  Réponse avec citation
Vieux 08/11/2006, 17h48   #3
Todd A. Anderson
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: X11 forwarding over proxied connection.

> It shouldn't have anything to do with the proxy. Try using 127.0.0.1
> instead of "localhost".


That did the trick. Thanks.


  Réponse avec citation
Vieux 08/11/2006, 17h56   #4
Chris Mattern
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: X11 forwarding over proxied connection.

In article <466dnTMrsaWNhc_YnZ2dnUVZ_tmdnZ2d@comcast.com>,
Todd A. Anderson wrote:
>> It shouldn't have anything to do with the proxy. Try using 127.0.0.1
>> instead of "localhost".

>
>That did the trick. Thanks.
>

Now check your name resolution and particularly /etc/hosts, since localhost
is apparently not resolving to 127.0.0.1, which is a recipe for further
trouble.

--
Christopher Mattern

"Which one you figure tracked us?"
"The ugly one, sir."
"...Could you be more specific?"
  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 22h52.


Édité par : vBulletin® version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,08681 seconds with 12 queries