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

Yaakov Selkowitz yselkowitz@cygwin.com
Tue Nov 25 15:19:00 GMT 2014


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



More information about the Cygwin mailing list