Hello guys,
Every time I login I have to execute 'ssh-add' to add my ssh keys to the agent.
Right now I have this in my $HOME/ssh/config file:
The problem with this is that I have to login to my remote box first for the keys to get added to the agent...
Is there a clean way to do this? (not sure if adding ssh-add to .bashrc is the recommended way?)
EDIT: Adding an autostart script when starting Plasma session is also a solution I guess.
I thought there would have been a cleaner way by messing with ssh configs and such!
Greetings,
Me
Every time I login I have to execute 'ssh-add' to add my ssh keys to the agent.
Right now I have this in my $HOME/ssh/config file:
Code:
[FONT=monospace][COLOR=#54ff54][B] user@box[/B][/COLOR][COLOR=#000000]:[/COLOR][COLOR=#5454ff][B]~[/B][/COLOR][COLOR=#000000]$ cat .ssh/config [/COLOR] Host * AddKeysToAgent yes [/FONT]
Is there a clean way to do this? (not sure if adding ssh-add to .bashrc is the recommended way?)
EDIT: Adding an autostart script when starting Plasma session is also a solution I guess.
I thought there would have been a cleaner way by messing with ssh configs and such!
Greetings,
Me