On 06/23/2018 01:40 PM, Jeffrey Ross wrote:
ok, I used the two commands -
eval "$(ssh-agent -s)"
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
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.