This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

ssh: Could not resolve hostname


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]