[Bug 1074798] Re: ssh-copy-id cannot handle spaces in usernames
Bug Watch Updater
1074798 at bugs.launchpad.net
Sun Feb 3 20:34:11 UTC 2013
Launchpad has imported 1 comments from the remote bug at
https://bugzilla.mindrot.org/show_bug.cgi?id=2068.
If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.
------------------------------------------------------------------------
On 2013-02-03T16:27:54+00:00 Ken Sharp wrote:
If a username has a space in it, ssh-copy-id cannot handle it, unless
it's in a non-obvious way. ssh itself has no problem with spaces.
$ ssh-copy-id "User name"@server
ssh: Could not resolve hostname User: Name or service not known
$ ssh-copy-id "User\ name"@server
ssh: Could not resolve hostname User\\: Name or service not known
$ ssh-copy-id User\ name at server
ssh: Could not resolve hostname User: Name or service not known
>From https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1074798/comments/2
"It looks like there is some quoting missing from the ssh-copy-id script"
Possibly related:
https://bugzilla.mindrot.org/show_bug.cgi?id=1164
https://bugzilla.mindrot.org/show_bug.cgi?id=1980
Apologies if this is logged against the incorrect component. ssh-copy-id
seems to call ssh-add but it's more than likely a problem with the
script rather than ssh-add.
Reply at:
https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1074798/comments/3
** Changed in: openssh
Status: Unknown => Confirmed
** Changed in: openssh
Importance: Unknown => Low
** Bug watch added: OpenSSH Portable Bugzilla #1164
https://bugzilla.mindrot.org/show_bug.cgi?id=1164
** Bug watch added: OpenSSH Portable Bugzilla #1980
https://bugzilla.mindrot.org/show_bug.cgi?id=1980
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to openssh in Ubuntu.
https://bugs.launchpad.net/bugs/1074798
Title:
ssh-copy-id cannot handle spaces in usernames
Status in Portable OpenSSH:
Confirmed
Status in “openssh” package in Ubuntu:
Triaged
Status in “openssh” package in Debian:
Unknown
Bug description:
If a username has a space in it, ssh-copy-id cannot handle it, unless
it's in a non-obvious way. ssh itself has no problem with spaces.
$ ssh-copy-id "User name"@server
ssh: Could not resolve hostname User: Name or service not known
$ ssh-copy-id "User\ name"@server
ssh: Could not resolve hostname User\\: Name or service not known
$ ssh-copy-id User\ name at server
ssh: Could not resolve hostname User: Name or service not known
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: openssh-client 1:5.9p1-5ubuntu1
ProcVersionSignature: Ubuntu 3.2.0-32.51-generic 3.2.30
Uname: Linux 3.2.0-32-generic x86_64
NonfreeKernelModules: fglrx wl
ApportVersion: 2.0.1-0ubuntu14
Architecture: amd64
Date: Sun Nov 4 02:34:02 2012
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64 (20110427.1)
ProcEnviron:
LANGUAGE=en_GB:en
TERM=xterm
PATH=(custom, user)
LANG=en_GB.UTF-8
SHELL=/bin/bash
RelatedPackageVersions:
ssh-askpass N/A
libpam-ssh N/A
keychain N/A
ssh-askpass-gnome 1:5.9p1-5ubuntu1
SSHClientVersion: OpenSSH_5.9p1 Debian-5ubuntu1, OpenSSL 1.0.1 14 Mar 2012
SourcePackage: openssh
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/openssh/+bug/1074798/+subscriptions
More information about the foundations-bugs
mailing list