X-Spam-Check-By: sourceware.org
To: cygwin@cygwin.com
From: =?ISO-8859-1?Q?Ren=E9_Berber?= <r.berber@computer.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@USORL02P702.ww007.siemens.net>
Mime-Version:  1.0
Content-Type:  text/plain; charset=ISO-8859-1
Content-Transfer-Encoding:  quoted-printable
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@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.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/

