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

Bug#739007: marked as done (.ssh/config Host lines no longer work if contain uppercase)



Your message dated Sat, 15 Feb 2014 01:55:52 +0000
with message-id <20140215015551.GG6397@riva.ucam.org>
and subject line Re: Bug#739007: .ssh/config Host lines no longer work if contain uppercase
has caused the Debian Bug report #739007,
regarding .ssh/config Host lines no longer work if contain uppercase
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
739007: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=739007
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
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


--- End Message ---
--- Begin Message ---
Source: openssh
Source-Version: 1:6.5p1-2

On Fri, Feb 14, 2014 at 09:12:43PM +0000, Adam D. Barratt wrote:
> On Fri, 2014-02-14 at 17:04 -0400, Joey Hess wrote:
> > 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. 
> [...]
> > 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.
> 
> It should be fixed in -2 already:
> 
> Format: 1.8
> Date: Tue, 11 Feb 2014 11:28:35 +0000
> Source: openssh
> Binary: openssh-client openssh-server ssh ssh-krb5 ssh-askpass-gnome openssh-client-udeb openssh-server-udeb
> Architecture: source i386 all
> Version: 1:6.5p1-2
> [...]
>  openssh (1:6.5p1-2) unstable; urgency=medium
> [...]
>    * Backport upstream patch to unbreak case-sensitive matching of ssh_config
>      (closes: #738619).

Indeed, that should fix the bug described above.  Closing unless I see
reports with >= -2.

Cheers,

-- 
Colin Watson                                       [cjwatson@debian.org]

--- End Message ---

Reply to: