linux - ssh-add error with ECDSA and ED25519 identities -


linux environment: debian 9.1, gnome desktop

i have both ecdsa , ed25519 identities, command line, ssh-add command gives error:

could not add identity

how solve?

according to:

https://bugzilla.gnome.org/show_bug.cgi?id=641082#c22

the bug relative gnome-keyring support ecdsa keys.

the fix works me is:

mkdir -p ~/.config/autostart cp /etc/xdg/autostart/gnome-keyring-ssh.desktop ~/.config/autostart/ echo "x-gnome-autostart-enabled=false" >> ~/.config/autostart/gnome- keyring-ssh.desktop 

after reboot, ssh-add works correctly command line:

marco@cluster:~$ ssh-add enter passphrase /home/marco/.ssh/id_rsa:  identity added: /home/marco/.ssh/id_ecdsa (/home/marco/.ssh/id_ecdsa) identity added: /home/marco/.ssh/id_ed25519 (marco@cluster) 

Comments

Popular posts from this blog

php - Vagrant up error - Uncaught Reflection Exception: Class DOMDocument does not exist -

vue.js - Create hooks for automated testing -

Add new key value to json node in java -