← Back to team overview

touch-packages team mailing list archive

[Bug 306430] Re: ~/.ssh/config does not handle multiple hosts correctly

 

In Precise, ssh_config's man page correctly states that multiple hosts
(ex: Host A B C) are to be separated by spaces and that multiple from=""
(ex: from="example.com,192.2.0.1") in the authorized_keys files are
comma-separated.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to openssh in Ubuntu.
https://bugs.launchpad.net/bugs/306430

Title:
  ~/.ssh/config does not handle multiple hosts correctly

Status in “openssh” package in Ubuntu:
  Fix Released

Bug description:
  Binary package hint: openssh-client

  According to the man page multiple hosts in the hosts section should be given as comma separated list, since the host section expects a pattern or pattern list and <cite>A pattern-list is a comma-separated list of patterns</cite>.
  Still when I put two hosts as comma separated list into my config file (like <cite>Host bullock,dickstone</cite>) the following config is used for neither one. If instead I provide the host list as space separated (like <cite>Host bullock dickstone</cite>) the following configuration is used for both systems. This is either a bug in the program or a bug in the documentation. Since ssh works as stated in the man page on OpenSuSE 10.3 I doubt the later one.

  Further information:
  user@host:/> lsb_release -rd
  Description:    Ubuntu 8.04.1
  Release:        8.04

  user@host:/> apt-cache policy openssh-client
  openssh-client:
    Installed: 1:4.7p1-8ubuntu1.2
    Candidate: 1:4.7p1-8ubuntu1.2

  ProblemType: Bug
  Architecture: amd64
  Date: Tue Dec  9 08:43:55 2008
  DistroRelease: Ubuntu 8.04
  Package: openssh-client 1:4.7p1-8ubuntu1.2
  PackageArchitecture: amd64
  ProcEnviron:
   PATH=/home/username/bin:/home/username/perl510/bin:/home/username/bin:/home/username/perl510/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
   LANG=de_DE.UTF-8
   SHELL=/bin/bash
  SourcePackage: openssh
  Uname: Linux 2.6.24-16-generic x86_64

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/306430/+subscriptions