Skip to content

Commit 85495ad

Browse files
authored
SSH config for GitLab (#573)
2 parents e7a1dfb + c07e2d1 commit 85495ad

File tree

3 files changed

+23
-2
lines changed

3 files changed

+23
-2
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,8 @@ secrets/fedora-source-git/stg/*
1313
!secrets/**/*.j2
1414
!secrets/**/ssh_config
1515

16+
# Ignore any ‹dev› secrets
17+
secrets/*/dev/*
18+
1619
# used in move_stable script
1720
move_stable_repositories

secrets/packit/prod/ssh_config

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
Host pkgs.fedoraproject.org
2-
Hostname pkgs.fedoraproject.org
32
User packit
3+
Hostname pkgs.fedoraproject.org
4+
5+
IdentitiesOnly yes
46
IdentityFile /home/packit/.ssh/id_ed25519
7+
8+
# Used for the CentOS and CentOS SIGs' dist git repositories
9+
Host gitlab.com
10+
User git
11+
Hostname gitlab.com
12+
513
IdentitiesOnly yes
14+
IdentityFile /home/packit/.ssh/id_ed25519

secrets/packit/stg/ssh_config

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
Host pkgs.fedoraproject.org
2-
Hostname pkgs.fedoraproject.org
32
User packit-stg
3+
Hostname pkgs.fedoraproject.org
4+
5+
IdentitiesOnly yes
46
IdentityFile /home/packit/.ssh/id_ed25519
7+
8+
# Used for the CentOS and CentOS SIGs' dist git repositories
9+
Host gitlab.com
10+
User git
11+
Hostname gitlab.com
12+
513
IdentitiesOnly yes
14+
IdentityFile /home/packit/.ssh/id_ed25519

0 commit comments

Comments
 (0)