This is the mail archive of the
cygwin
mailing list for the Cygwin project.
ssh uses /etc/ssh_config instead of ~/.ssh/ssh_config
- From: Niels Kobschaetzki <niels at kobschaetzki dot net>
- To: cygwin at cygwin dot com
- Date: Tue, 25 Nov 2014 09:53:44 +0100
- Subject: ssh uses /etc/ssh_config instead of ~/.ssh/ssh_config
- Authentication-results: sourceware.org; auth=none
Hi,
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?
Niels
--
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