Advertisement
ivandrofly

multiple key ssh

Dec 20th, 2024 (edited)
23
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Personal GitHub
  2. #Host github-personal
  3. #Host github.com
  4. Host *
  5.     HostName github.com
  6.     User git
  7.     IdentityFile /home/ivandrofly/.ssh/id_ed25519_personal
  8. #   AddKeysToAgent yes
  9. # https://stackoverflow.com/questions/2419566/how-to-configure-multiple-ssh-private-keys-for-different-servers-efficiently
  10.  
  11. # Work GitHub
  12. Host github-work
  13.     HostName github.com
  14.     User git
  15.     IdentityFile /home/ivandrofly/.ssh/id_ed25519_work
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement