This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: ssh uses /etc/ssh_config instead of ~/.ssh/ssh_config
- From: Yaakov Selkowitz <yselkowitz at cygwin dot com>
- To: cygwin at cygwin dot com
- Date: Tue, 25 Nov 2014 03:07:13 -0600
- Subject: Re: ssh uses /etc/ssh_config instead of ~/.ssh/ssh_config
- Authentication-results: sourceware.org; auth=none
- References: <20141125085344 dot GB20294 at venus dot fritz dot box>
On 2014-11-25 02:53, Niels Kobschaetzki wrote:
I just configured my local ssh_config because I got too lazy to enter
all the time hostnames. But when I want to use it, the ssh from cygwin
does not use it.
ssh -vvv myhost
results in
OpenSSH_6.7p1, OpenSSL 1.0.1j 15 Oct 2014
debug1: Reading configuration data /etc/ssh_config
ssh: Could not resolve hostname myhost: Name or service not known
When I use ssh -F ~/.ssh/ssh_config myhost
everything works as expected. Do I have to configure something in
/etc/ssh_config so that ssh uses first my local ssh_config or is this a
bug?
The user file is called ~/.ssh/config; see 'man ssh_config' for details.
--
Yaakov
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple