I have a private SSH key which I use to login to remote server. When I start ssh my.server
command in GNOME terminal, a dialog box pops up to enter the passphrase to unlock the key (see below - it's in Polish, however the language doesn't matter).
That is ok, but I'd rather like to bring up this box right after I login to GNOME session, before I even attempt to make any SSH connection. What should I add to "startup programs" to achieve this?
Some time ago, on older Ubuntu version I added ssh-add
to startup programs and it did the trick. However, when I try ssh-add
now, it pops up the ugly dialog box shown below and not the one like above that I want. Which command brings up the above box?