![]() Ssh -o IdentitiesOnly=yes -i ~/.ssh/company-id ] then # bitbucket has weird urls Ssh -o IdentitiesOnly=yes -i "$key" ] then # use company id If you want to look at the repository remotes but have multiple remotes that need different keys, you can add remote="$1:$(sed "s.*, s,',g"&2. ![]() You can add git remote -v check to add heuristics based on the the remotes, like in Eike's script.This can be done in the else section so heuristics only kick in if there is no specific key in ssh.key. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |