ssh-copy-id is out-of-date
Bug #121262 reported by
Micah Cowan
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openssh (Debian) |
Fix Released
|
Unknown
|
|||
openssh (Ubuntu) |
Fix Released
|
Wishlist
|
Colin Watson |
Bug Description
The ssh-copy-id program defaults to attempting to copy identity.pub instead of id_rsa.pub (should possibly check for both, but id_rsa.pub first). Appends these to authorized_keys, instead of the probably preferable authorized_keys2. Also, it uses "ssh-add -L"'s output in preference to identity.pub, but this includes the case when ssh-add -L gives "The agent has no identities" (in which case it returns a non-zero exit status (1)).
I'm not sure how important, if at all, the authorized_keys bit is, but I believe the rest of this behavior may be worked around by specifying the identity directly via the -i switch; therefore, I'll go ahead and set the priority myself, to Wishlist.
Changed in openssh: | |
status: | New → Confirmed |
Changed in openssh: | |
status: | Unknown → Fix Committed |
Changed in openssh: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Package: openssh-client
Version: 1:4.2p1-5
Followup-For: Bug #234627
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
This would be a really easy bug to fix. It's been almost two years since it's been filed. Please?
- -- System Information: ISO-8859- 1)
Debian Release: testing/unstable
APT prefers testing
APT policy: (650, 'testing'), (600, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.14-2-k7
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=
Versions of packages openssh-client depends on: 39-WIP- 2005.12. 10-1 common error description library 20050518- 2.2 BSD editline and history libraries
ii adduser 3.80 Add and remove users and groups
ii debconf [debc 1.4.66 Debian configuration management sy
ii dpkg 1.13.11.0.1 package maintenance system for Deb
ii libc6 2.3.5-8 GNU C Library: Shared libraries an
ii libcomerr2 1.38+1.
ii libedit2 2.9.cvs.
ii libkrb53 1.4.3-5 MIT Kerberos runtime libraries
ii libncurses5 5.5-1 Shared libraries for terminal hand
ii libselinux1 1.26-1 SELinux shared libraries
ii libssl0.9.8 0.9.8a-5 SSL shared libraries
ii zlib1g 1:1.2.3-9 compression library - runtime
openssh-client recommends no packages.
- -- no debconf information
-----BEGIN PGP SIGNATURE-----
5+GdyTDsrJsRAth +AKC1s3h23hFWZY keglWT2B2gM1G8F QCgyuAN 0CmUJII8=
Version: GnuPG v1.4.2 (GNU/Linux)
iD8DBQFDw0k+
cOCay4aQbLoCyL8
=Z+Lx
-----END PGP SIGNATURE-----