X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:message-id:date:from:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; q=dns; s=default; b=Oi+KdGQ54Hz01+6lLPUg5UE+gZgielr6dgsyfWYAYPJ waytqeMv3vBa9CmNXUfegkT3taX1iw/uAFpzpY5LXCt9nY5pdxG4lupFkGpJp9f3 jxTr88Xa7vUk22vvAPkMyGKaAL8fCnJrCVzcv0lcO6SEup+Z2GrQOuIZp4kCrxz8 = DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:message-id:date:from:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; s=default; bh=ltylb/aGFz5P3p5PCTGwTPQF7LQ=; b=Eszhkeebu6/es0++v PoHhfFiCL3UlQAn6kbgU6h2HwmCCMjRu5lvuJZNeGpI7xr64WbwZPogTdoTuS/1M YabvfLf/CoTwXyiBKfiZDcR3jmktpXNNMGZLrOeEYYgu+W74DogVzwTcPIZkJAgU /xKExalZfLdqmbcORr89xwQRbQ= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.6 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS autolearn=ham version=3.3.2 X-HELO: mx1.redhat.com Message-ID: <547446C1.5050402@cygwin.com> Date: Tue, 25 Nov 2014 03:07:13 -0600 From: Yaakov Selkowitz User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: ssh uses /etc/ssh_config instead of ~/.ssh/ssh_config References: <20141125085344 DOT GB20294 AT venus DOT fritz DOT box> In-Reply-To: <20141125085344.GB20294@venus.fritz.box> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes 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