On 06/23/2018 01:40 PM, Jeffrey Ross wrote:
ok, I used the two commands -
eval "$(ssh-agent -s)"
ssh-add ~/.ssh/id_rsa
and this works for the one terminal shell I entered the commands in,
any other terminal I either need to re-run the commands in that shell
or unlock my private key when I type ssh <hostname>
The "eval" line runs a new ssh-agent and replaces the environment
variables that normally refer to the ssh-agent run by gnome-keyring. If
you exclude that line, and only run ssh-add, then you'll add keys to the
gnome-keyring's ssh-agent, and those keys will be available in all of
the terminals.
not sure if putting the commands in the rc file to run would be the
best thing to do, I suspect I'll have to unlock every time I open a
new window, plus this is not what I remember, I remember (maybe
incorrectly) getting a graphical dialogue box asking me to unlock my key.
Yes, gnome-keyring will do that if you have the public keys present.
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx/message/YDW3DSI2HR35GFKX6RWTDSUUA7KNAPFJ/