Im trying to set up an eventual ~/.config/autostart/ .desktop file for this.
Now currently, all my ssh-agent and ssh-add to then add my keys work. I just cannot seem to get the
command gnome-terminal -- ssh-add
to do anything but just bring up a new gnome terminal. also tried the older
gnome-terminal --command ssh-add
and same damn thing. also tried lots of combos using exec, and also sh -c and just nothing here works.
The system will happily do
gnome-terminal -- ssh-keygen
though, and pop up a new term where I see ssh-keygen was ran and its asking me about saving a key in a file which is 100% expected to happen there. But for some reason ssh-add is special in some way? wtf? normally id expect ssh-add to ask me for the passphrase, and when running this command in an existing gnome-terminal it does just that... just cannot do the
command gnome-terminal -- ssh-add
where I can do the
command gnome-terminal -- ssh-keygen
Why doesnt
command gnome-terminal -- ssh-add
pop up a new gnome-terminal asking my for the passphrase??