[Bug 2693] New: ssh: Include'ed host is not resolved by ssh
bugzilla-daemon at bugzilla.mindrot.org
bugzilla-daemon at bugzilla.mindrot.org
Wed Mar 15 18:21:01 AEDT 2017
https://bugzilla.mindrot.org/show_bug.cgi?id=2693
Bug ID: 2693
Summary: ssh: Include'ed host is not resolved by ssh
Product: Portable OpenSSH
Version: 7.4p1
Hardware: amd64
OS: Linux
Status: NEW
Severity: normal
Priority: P5
Component: ssh
Assignee: unassigned-bugs at mindrot.org
Reporter: peter.volkov at gmail.com
I'm trying to use ssh client. I've created following configs:
/home/pay/.ssh/config:
===========cut here==========
Host thtv.db?
User pva
Include ssh-config/*.ssh
===========cut here==========
/home/pay/.ssh/ssh-config/thtv.ssh:
===========cut here==========
Host thtv.enc1
Port 2249
HostName 10.0.200.18
===========cut here==========
But ssh is not able to "resolve" thtv.enc1:
$ ssh thtv.enc1 -vvv
OpenSSH_7.4p1, OpenSSL 1.0.2k 26 Jan 2017
debug1: Reading configuration data /home/pay/.ssh/config
debug3: /home/pay/.ssh/config line 4: Including file
/home/pay/.ssh/ssh-config/thtv.ssh depth 0 (parse only)
debug1: Reading configuration data /home/pay/.ssh/ssh-config/thtv.ssh
debug1: Reading configuration data /etc/ssh/ssh_config
debug2: resolving "thtv.enc1" port 22
ssh: Could not resolve hostname thtv.enc1: Name or service not known
$
If I comment first two lines in .ssh/config (Host thtv.db? and next
line) ssh starts to Apply options for thtv.enc1 in Included file and
everything magically starts to work! Also if I move Host thtv.enc1
config to .ssh/config everything starts to work as well.
--
You are receiving this mail because:
You are watching the assignee of the bug.
More information about the openssh-bugs
mailing list