Use Multiple SSL Keys with Git
Published on 04 Sep 2021
multiple keys
Edit file ~/.ssh/config
host wordpress
user git
hostname bitbucket.org
port 22
identityfile /home/ec2-user/.ssh/id_rsa
host search3
user git
hostname bitbucket.org
port 22
identityfile /home/ec2-user/.ssh/id_rsa_search3
Then clone as usually, but using the host you defined in the previous file:
git clone search3:iwxfer/search3.git
- ref: https://superuser.com/questions/232373/how-to-tell-git-which-private-key-to-use
all tags
IDE architecture" cli crontab crypto csv database docker editor error exceptions fastapi ffmpeg filename git go history http iteration javascript linux logging me mysql numpy orm pdo pentaho php postgres python random rename rsync rust selenium server solana sql sqlite ssh typescript user w3m wordpress