~/.ssh/config does not handle multiple hosts correctly
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openssh (Ubuntu) |
Fix Released
|
Undecided
|
Caspar Clemens Mierau |
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,
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
PackageArchitec
ProcEnviron:
PATH=/
LANG=de_DE.UTF-8
SHELL=/bin/bash
SourcePackage: openssh
Uname: Linux 2.6.24-16-generic x86_64
Changed in openssh (Ubuntu): | |
status: | In Progress → Fix Released |
I can confirm this bug:
"man ssh_config" says to format host name lists like:
Host A,B,C
User someuser
But "ssh A" for example prompts for user name, so its not working. However the following works:
Host A B C
User someuser