Skip to content

Commit

Permalink
SSH config for GitLab (#573)
Browse files Browse the repository at this point in the history
  • Loading branch information
mfocko authored May 13, 2024
2 parents e7a1dfb + c07e2d1 commit 85495ad
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,8 @@ secrets/fedora-source-git/stg/*
!secrets/**/*.j2
!secrets/**/ssh_config

# Ignore any ‹dev› secrets
secrets/*/dev/*

# used in move_stable script
move_stable_repositories
11 changes: 10 additions & 1 deletion secrets/packit/prod/ssh_config
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
Host pkgs.fedoraproject.org
Hostname pkgs.fedoraproject.org
User packit
Hostname pkgs.fedoraproject.org

IdentitiesOnly yes
IdentityFile /home/packit/.ssh/id_ed25519

# Used for the CentOS and CentOS SIGs' dist git repositories
Host gitlab.com
User git
Hostname gitlab.com

IdentitiesOnly yes
IdentityFile /home/packit/.ssh/id_ed25519
11 changes: 10 additions & 1 deletion secrets/packit/stg/ssh_config
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
Host pkgs.fedoraproject.org
Hostname pkgs.fedoraproject.org
User packit-stg
Hostname pkgs.fedoraproject.org

IdentitiesOnly yes
IdentityFile /home/packit/.ssh/id_ed25519

# Used for the CentOS and CentOS SIGs' dist git repositories
Host gitlab.com
User git
Hostname gitlab.com

IdentitiesOnly yes
IdentityFile /home/packit/.ssh/id_ed25519

0 comments on commit 85495ad

Please sign in to comment.