Description of problem: Getting `Error reading response length from authentication socket. Could not add identity: ~/.ssh/id_ed25519` when entering `ssh-add` on startup. I have to start another SSH agent to add ED25519 keys. The bug doesn't seem to occur with RSA keys. Version-Release number of selected component (if applicable): OpenSSH 6.6P1 Steps to Reproduce: 1. do a fresh install of Mageia 5, 2. generate a ED25519 key, 3. reboot and open a terminal, 4. type `ssh-add` Reproducible: Steps to Reproduce:
Assigning to maintainer
CC: (none) => marja11Assignee: bugsquad => guillomovitch
You're probably not using openssh implementation of ssh agent (ssh-agent), but another one, such as gnome-keyring. Check $SSH_AUTH_SOCK value, if that's something such as '/run/user/...' instead of '/tmp/...', that's the case. Upstream bug for gnome-keyring here: https://bugzilla.gnome.org/show_bug.cgi?id=641082 for
`$SSH_AUTH_SOCK` is not set here.
AFAIK, any SSH agent is supposed to set SSH_AGENT_PID and SSH_AUTH_SOCK environment variables. If you don't have any of them, that's another hint you're not using the one provided by openssh project.
That's right, my bad, I have reinstalled Mageia a few days ago. SSH agent is not started anymore on boot (dunno why, maybe I should open a bug about it?). I started SSH Agent and ssh-added, all works well. Closing this, then. Thx for help.
Closing.
Status: NEW => RESOLVEDResolution: (none) => FIXED