[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#739007: .ssh/config Host lines no longer work if contain uppercase



Package: openssh-client
Version: 1:6.5p1-1
Severity: important

Probably caused by the changes for #115286, Host lines in ~/.ssh/config
are now seeingly ignored by ssh if they contain any uppercase. 

For example:

joey@darkstar:~>cat .ssh/config
Host fooBar
  Hostname example.com

Host foobaz
  Hostname example.com
joey@darkstar:~>ssh -v fooBar
OpenSSH_6.5, OpenSSL 1.0.1f 6 Jan 2014
debug1: Reading configuration data /home/joey/.ssh/config
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: Applying options for *
ssh: Could not resolve hostname foobar: Name or service not known
- exit 255
joey@darkstar:~>ssh -v foobaz
OpenSSH_6.5, OpenSSL 1.0.1f 6 Jan 2014
debug1: Reading configuration data /home/joey/.ssh/config
debug1: /home/joey/.ssh/config line 4: Applying options for foobaz
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: Applying options for *
debug1: Connecting to example.com [93.184.216.119] port 22.

I have set the severity to important, because this seems likely to break
existing setups out there in the wild.

Since this affects git-annex, and I have only put in a quick fix
(preventing it from using any uppercase when generating new Host lines,
but not fixing up existing ones), I'd appreciate if you let me know if
this is something that is likely to be fixed. Otherwise I need to go to
some trouble to make git-annex probe the version of ssh that is
installed and fix up Host lines it has already generated.

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)


Foreign Architectures: i386

Kernel: Linux 3.10-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages openssh-client depends on:
ii  adduser           3.113+nmu3
ii  dpkg              1.17.6
ii  libc6             2.17-97
ii  libedit2          3.1-20130712-2
ii  libgssapi-krb5-2  1.12+dfsg-2
ii  libselinux1       2.2.2-1
ii  libssl1.0.0       1.0.1f-1
ii  passwd            1:4.1.5.1-1
ii  zlib1g            1:1.2.8.dfsg-1

Versions of packages openssh-client recommends:
ii  xauth  1:1.0.7-1

Versions of packages openssh-client suggests:
pn  keychain      <none>
pn  libpam-ssh    <none>
pn  monkeysphere  <none>
ii  ssh-askpass   1:1.2.4.1-9

-- no debconf information

-- 
see shy jo

Attachment: signature.asc
Description: Digital signature


Reply to: