[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#738660: openssh-client: SSH_AGENT_FAILURE on ssh-add'ing an ed25519 key



Package: openssh-client
Version: 1:6.5p1-1

Dear Debian OpenSSH Maintainers,

I wanted to play with the new ed25519 key format:

!517 Z5 ?0 L1 abe@nemo2:~ (pts/17 -zsh 5.0.5 sid) 17:08:50 
~ # ssh-keygen -t ed25519
Generating public/private ed25519 key pair.
Enter file in which to save the key (/home/abe/.ssh/id_ed25519): 
Enter passphrase (empty for no passphrase): 
Enter same passphrase again: 
Your identification has been saved in /home/abe/.ssh/id_ed25519.
Your public key has been saved in /home/abe/.ssh/id_ed25519.pub.
The key fingerprint is:
48:68:[…]
The key's randomart image is:
+--[ED25519  256--+
|        . E+.    |
[……………………………………………]
+-----------------+
!518 Z6 ?0 L1 abe@nemo2:~ (pts/17 -zsh 5.0.5 sid) 17:09:08 
~ # ssh-add 
Enter passphrase for /home/abe/.ssh/id_rsa: 
Identity added: /home/abe/.ssh/id_rsa (/home/abe/.ssh/id_rsa)
Enter passphrase for /home/abe/.ssh/id_dsa: 
Identity added: /home/abe/.ssh/id_dsa (/home/abe/.ssh/id_dsa)
Enter passphrase for /home/abe/.ssh/id_ed25519: 
SSH_AGENT_FAILURE
Could not add identity: /home/abe/.ssh/id_ed25519
!519 Z7 ?1 L1 abe@nemo2:~ (pts/17 -zsh 5.0.5 sid) 17:09:38 

I would have had expected that ssh-add adds the key after I've entered
the passphrase. There seems no verbose or similar setting. I've also
checked the .xsession-errors log as I would expect that ssh-agent errors
go there because ssh-agent was started via the Xsession.

I've also checked that it wasn't a mistyped passphrase. In that case it
looks like this:

Enter passphrase for /home/abe/.ssh/id_ed25519: 
Bad passphrase, try again for /home/abe/.ssh/id_ed25519: 
SSH_AGENT_FAILURE
Could not add identity: /home/abe/.ssh/id_ed25519

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (900, 'testing'), (899, 'testing-proposed-updates'), (600, 'stable'), (500, 'proposed-updates'), (200, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 3.13-trunk-686-pae (SMP w/2 CPU cores)
Locale: LANG=en_DK.UTF-8, LC_CTYPE=en_DK.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages openssh-client depends on:
ii  adduser           3.113+nmu3
ii  dpkg              1.17.6
ii  libc6             2.17-97
ii  libedit2          3.1-20130712-2
ii  libgssapi-krb5-2  1.12+dfsg-2
ii  libselinux1       2.2.2-1
ii  libssl1.0.0       1.0.1f-1
ii  passwd            1:4.1.5.1-1
ii  zlib1g            1:1.2.8.dfsg-1

Versions of packages openssh-client recommends:
ii  xauth  1:1.0.7-1

Versions of packages openssh-client suggests:
ii  keychain                              2.7.1-1
pn  libpam-ssh                            <none>
ii  monkeysphere                          0.36-1
ii  ssh-askpass-fullscreen [ssh-askpass]  0.4-0.1

-- no debconf information


Reply to: