ssh uses /etc/ssh_config instead of ~/.ssh/ssh_config

Niels Kobschaetzki niels@kobschaetzki.net
Tue Nov 25 09:07:00 GMT 2014


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



More information about the Cygwin mailing list