I accidentally killed my ssh-agent
, how do I restart it without having to reconnect ?
I tried this but it does not work :
$ eval $(ssh-agent -s)
Agent pid 8055
Then, I open a new Gnome terminal with CTRL+SHIFT+N from the previous terminal window and type :
$ ssh-add
Could not open a connection to your authentication agent.
But if I open a new Gnome terminal from my first Gnome terminal by typing :
$ gnome-terminal &
then this new window is able to connect to the ssh-agent
.
Is it not possible for all my Gnome terminals to "see" the ssh-agent
without having to reconnect to the PC/server ?