Bug#411463: openssh-client: ssh-copy-id puts "The agent has no identities" in authorized_keys
Package: openssh-client
Version: 1:4.3p2-8
Severity: normal
After running ssh-copy-id with no "-i" argument, I get the following
on the remote host:
~$ cat .ssh/authorized_keys
The agent has no identities.
~$
According to the man page, ssh-copy-id checks "ssh-add -L", and if the
output is empty, should use the default identity. But that command
gives:
~$ ssh-add -L
The agent has no identities.
So that seems to be the bug...
-- System Information:
Debian Release: 4.0
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-4-amd64
Locale: LANG=sv_SE.UTF-8, LC_CTYPE=sv_SE.UTF-8 (charmap=UTF-8)
Versions of packages openssh-client depends on:
ii adduser 3.102 Add and remove users and groups
ii debconf 1.5.11 Debian configuration management sy
ii dpkg 1.13.25 package maintenance system for Deb
ii libc6 2.3.6.ds1-11 GNU C Library: Shared libraries
ii libcomer 1.39+1.40-WIP-2006.11.14+dfsg-1 common error description library
ii libedit2 2.9.cvs.20050518-3 BSD editline and history libraries
ii libkrb53 1.4.4-6 MIT Kerberos runtime libraries
ii libncurs 5.5-5 Shared libraries for terminal hand
ii libssl0. 0.9.8c-4 SSL shared libraries
ii passwd 1:4.0.18.1-6 change and administer password and
ii zlib1g 1:1.2.3-13 compression library - runtime
openssh-client recommends no packages.
-- no debconf information
Reply to: