This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: ssh config


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 host,
that AFAIK cannot be done globally (unless globing is accepted in the same
config file).
-- 
René 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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]