DEV Community

Discussion on: How to Setup Multiple Ssh Keys for Multiple Github/Bitbucket accounts.

Collapse
 
kryptonian41 profile image
aapoorv41@gmail.com

Do we really need to add the ssh keys manuay to the ssh-agent?
As far as I know if you specify the IdentityFile line for any key in the config, its automatically added.

Collapse
 
shostarsson profile image
Rémi Lavedrine • Edited

It is indeed not mandatory.

But I prefer to do it. So that way, when you explain, you understand everything that happens. And nothing is done implicitly that could bring some question in the future (if something goes wrong).