rpki-pbuilder.ssh_config 1.1 KB

12345678910111213141516171819202122232425262728293031323334
  1. # Fake hostnames here correspond to git remote URLs, which turns out
  2. # to be the easy way to use separate keys for push and fetch:
  3. #
  4. # $ git remote -v
  5. # origin pull.download.rpki.net:/usr/local/git/repositories/rpki.net.git/ (fetch)
  6. # origin push.download.rpki.net:/usr/local/git/repositories/rpki.net.git/ (push)
  7. #
  8. # The third key is used for rsync daemon-mode-over-ssh, as the name suggests:
  9. #
  10. # $ rsync --rsh ssh rsync://download.rpki.net/
  11. # APT APT repository for old stable RPKI code (trunk)
  12. # APTng APT repository for new development RPKI code
  13. #
  14. # The reason for using three separate keys is simple: this is a robot, keys are cheap,
  15. # and using a separate key for each allowed action gives us a trivial way to lock down
  16. # the server side.
  17. Host pull.download.rpki.net
  18. HostName download.rpki.net
  19. User aptbot
  20. IdentityFile ~/.ssh/id_rsa_pull
  21. IdentitiesOnly yes
  22. Host push.download.rpki.net
  23. HostName download.rpki.net
  24. User aptbot
  25. IdentityFile ~/.ssh/id_rsa_push
  26. IdentitiesOnly yes
  27. Host download.rpki.net
  28. HostName download.rpki.net
  29. User aptbot
  30. IdentityFile ~/.ssh/id_rsa_rsync
  31. IdentitiesOnly yes