bugzilla-daemon at mindrot.org
2013-Feb-03 16:27 UTC
[Bug 2068] New: ssh-copy-id cannot handle spaces in usernames
https://bugzilla.mindrot.org/show_bug.cgi?id=2068
Bug ID: 2068
Summary: ssh-copy-id cannot handle spaces in usernames
Classification: Unclassified
Product: Portable OpenSSH
Version: 5.9p1
Hardware: amd64
OS: Linux
Status: NEW
Severity: trivial
Priority: P5
Component: ssh-add
Assignee: unassigned-bugs at mindrot.org
Reporter: kennybobs at o2.co.uk
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.
--
You are receiving this mail because:
You are watching the assignee of the bug.
bugzilla-daemon at mindrot.org
2013-Feb-03 16:29 UTC
[Bug 2068] ssh-copy-id cannot handle spaces in usernames
https://bugzilla.mindrot.org/show_bug.cgi?id=2068
Ken Sharp <kennybobs at o2.co.uk> changed:
What |Removed |Added
----------------------------------------------------------------------------
URL| |https://bugs.launchpad.net/
| |ubuntu/+source/openssh/+bug
| |/1074798
Keywords| |low-hanging-fruit
--
You are receiving this mail because:
You are watching the assignee of the bug.
bugzilla-daemon at mindrot.org
2013-Feb-07 23:28 UTC
[Bug 2068] ssh-copy-id cannot handle spaces in usernames
https://bugzilla.mindrot.org/show_bug.cgi?id=2068
Damien Miller <djm at mindrot.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Blocks| |1980
--
You are receiving this mail because:
You are watching the assignee of the bug.
bugzilla-daemon at mindrot.org
2013-Mar-07 23:21 UTC
[Bug 2068] ssh-copy-id cannot handle spaces in usernames
https://bugzilla.mindrot.org/show_bug.cgi?id=2068
Damien Miller <djm at mindrot.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Blocks| |2076
--
You are receiving this mail because:
You are watching the assignee of the bug.
bugzilla-daemon at mindrot.org
2013-Mar-07 23:23 UTC
[Bug 2068] ssh-copy-id cannot handle spaces in usernames
https://bugzilla.mindrot.org/show_bug.cgi?id=2068 --- Comment #1 from Damien Miller <djm at mindrot.org> --- retarget to openssh-6.3 -- You are receiving this mail because: You are watching the assignee of the bug.
bugzilla-daemon at mindrot.org
2013-Mar-21 23:21 UTC
[Bug 2068] ssh-copy-id cannot handle spaces in usernames
https://bugzilla.mindrot.org/show_bug.cgi?id=2068
Damien Miller <djm at mindrot.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |djm at mindrot.org
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #2 from Damien Miller <djm at mindrot.org> ---
Updated ssh-copy-id script committed for openssh-6.2
--
You are receiving this mail because:
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.
bugzilla-daemon at mindrot.org
2013-Mar-22 01:01 UTC
[Bug 2068] ssh-copy-id cannot handle spaces in usernames
https://bugzilla.mindrot.org/show_bug.cgi?id=2068
Damien Miller <djm at mindrot.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |CLOSED
--- Comment #3 from Damien Miller <djm at mindrot.org> ---
mark bugs closed by openssh-6.2 release as CLOSED
--
You are receiving this mail because:
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.
Reasonably Related Threads
- [Bug 1669] ssh-copy-id has options that could be added to MAN page
- [Bug 2105] New: ssh-copy-id leads to rm -f * (local vs. dash)
- [Bug 1980] use updated ssh-copy-id
- [Bug 1614] ssh-copy-id doesn't seem to set correct selinux permissions
- [Bug 2117] New: Non-portable use of test == operator in ssh-copy-id