delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/02/14/03:01:18

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:mime-version:content-type
:content-transfer-encoding:date:from:to:subject:message-id; q=
dns; s=default; b=gTF6Kz9KhtKpdeJAQinCEGCkVguQJWryyYx3mMjSIJGwse
y5G1V7Nd1uBPyrFVjPgfdp/Ry8XPo344dw+sQysrP9rkW7RqHuNwlSUmLrKG43RN
YuXewCvbLMBWmP3O5mkWGkx/9K4Jl7nRcVkFAd8CyfwhZ/dB63Xa0XgCkjmy4=
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:mime-version:content-type
:content-transfer-encoding:date:from:to:subject:message-id; s=
default; bh=GWxv8dQ4r0FGFRBnl0L3eXEux6E=; b=PDzHaXHqkrNB9SyZsh81
G2WWu1DmMIvPEoCXwjjJ5AK4s+YRSkSp+o6LEVDjHSBfJbN1BLncuGyskwq5pyvr
uidHkjN8OtjRzyE7B91Dcs8d4/RHlSsw0R6ub7UdzlD+mfvPQiM6plmbUSAMoVr0
c0d13ekXVtbniHtT8rKkwwM=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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=0.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2
X-HELO: mail.active.sk
MIME-Version: 1.0
Date: Fri, 14 Feb 2014 09:00:53 +0100
From: Tomas Jankovic <tomas DOT jankovic AT gandy DOT sk>
To: <cygwin AT cygwin DOT com>
Subject: ssh: Could not resolve hostname
Message-ID: <829eff8be7a7dbb997a027581ff46e36@gandy.sk>
X-Sender: tomas DOT jankovic AT gandy DOT sk
User-Agent: Roundcube Webmail
X-IsSubscribed: yes

Hi,

after update all packages ssh cannot recognize host with upper case
letter in name in config file. I have tried install older version of 
ssh, but
nothing has changed. For example I have this record in my config file:

$ cat ~/.ssh/config
Host Example
  hotname 127.0.0.1

$ ssh -vvv Example
OpenSSH_6.5, OpenSSL 1.0.1f 6 Jan 2014
debug1: Reading configuration data ~/.ssh/config
debug1: Reading configuration data /etc/ssh_config
ssh: Could not resolve hostname example: Name or service not known

If I have changed it to (small e in beginning of name):

$ cat ~/.ssh/config
Host example
  hotname 127.0.0.1

$ ssh -vvv example
OpenSSH_6.5, OpenSSL 1.0.1f 6 Jan 2014
debug1: Reading configuration data ~/.ssh/config
debug1: ~/.ssh/config line 1: Applying options for example
debug1: Reading configuration data /etc/ssh_config
debug2: ssh_connect: needpriv 0
debug1: Connecting to 127.0.0.1 [127.0.0.1] port 22.

Workaround is use only lower case letters in name of host, but it is
only workaround. Before update it has worked.

Tomas

--
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019