delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/07/02/17:51:21

X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: =?ISO-8859-1?Q?Ren=E9_Berber?= <r DOT berber AT computer DOT org>
Subject: Re: ssh config
Date: Mon, 02 Jul 2007 16:50:52 -0500
Lines: 24
Message-ID: <f6brvs$6fv$1@sea.gmane.org>
References: <C6EEDB0EB45A56439F73B1D23E39694A3852A4 AT USORL02P702 DOT ww007 DOT siemens DOT net>
Mime-Version: 1.0
User-Agent: Thunderbird 2.0.0.4 (Windows/20070604)
In-Reply-To: <C6EEDB0EB45A56439F73B1D23E39694A3852A4@USORL02P702.ww007.siemens.net>
OpenPGP: url=hkp://wwwkeys.pgp.net
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Frederich, Eric P21322 wrote:

> Is there a way to enable X11 forwarding by default so that I don't have
> to run "ssh -XY hostname" and can just run "ssh hostname"?

It doesn't work like that, those are two different commands, only the first
creates the tunnel used by X11.

> I found a way for me to do it via a ~/.ssh/config file but I'm looking
> for a way to do it globally.  I have seen it (on Linux systems) in
> /etc/ssh/ssh_config before...I tried it on cygwin with no success.
> Does openssh on cygwin look for the global configuration file in another
> place or does it not support one at all?

What you did in ~/.ssh/config was add the parameter (-X) for the specific h=
ost,
that AFAIK cannot be done globally (unless globing is accepted in the same
config file).
--=20
Ren=E9 Berber


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019