I'm not sure about what I'm asking because I'm not pretty sure how does all of this world works, but, I have a private Ubuntu 14.04 server installed using VirtualBox, that I use for development, without X server. So, it is in terminal-land.
I run my private server on the terminal (vboxmanage startvm
), and connect to it with ssh
. Inside the private server, I connect to my public server when I need using ssh
again.
When I connect to my private server, or use ssh for any other thing, I have to type my key passphrase only once during a whole desktop session. I don't know who is responsible for that, but I think it is the gnome-keyring-daemon
. But inside my private server, I have to type my passphrase each time I use my key (for connecting to the public server for instance). I don't want to use ssh-agent
or ssh-add
because I don't want to be prompt just for connecting to my private server, specifically if I have more than one passphrase-protected key. Also, it is the issue of having a ssh-agent
instance on each new terminal session.
The gnome-keyring
is already installed in my private server but I don't know how to "activate" it to manage my keys, and to avoid being prompted for my passphrase, each time I want to ssh-connect from within my private server to my public server (I have some scripts which connects to it multiple times in a single run).
Lastly, don't forget the private server has currently no desktop and I'm not up to install it.