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

Maik Hentsche maik.hentsche at amd.com
Tue Dec 9 08:03:36 GMT 2008


Public bug reported:

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 at host:/> lsb_release -rd
Description:    Ubuntu 8.04.1
Release:        8.04

user at 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

** Affects: openssh (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug

-- 
~/.ssh/config does not handle multiple hosts correctly
https://bugs.launchpad.net/bugs/306430
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to openssh in ubuntu.



More information about the Ubuntu-server-bugs mailing list