Skip to content

Commit 6e691fa

Browse files
committed
Fix internal dist-git access
Signed-off-by: Nikola Forró <[email protected]>
1 parent 92f0416 commit 6e691fa

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

Containerfile.mcp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ RUN update-ca-trust
3838
COPY files/internal_dist-git_ssh.conf /etc/ssh/ssh_config.d/00-dist-git.conf
3939
# Set up internal dist-git and GitLab SSH host keys
4040
COPY files/internal_dist-git_host_keys /etc/ssh/ssh_known_hosts
41-
RUN ssh-keyscan bastion-iad2.corp.redhat.com gitlab.com >> /etc/ssh/ssh_known_hosts
41+
RUN ssh-keyscan gitlab.com >> /etc/ssh/ssh_known_hosts
4242

4343
USER mcp
4444
ENV HOME=/home/mcp

files/internal_dist-git_host_keys

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
11
pkgs.devel.redhat.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBDT8I6l839M7tb6V/Le8x3pGo3sTo6SG/kMrVwPQ6kUtxuaWKBLCmI1HVawfRbBz4fO+8AifdKjtOKUHcI6iPr8=
22
pkgs.devel.redhat.com ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCsc8DV5JsCx3dhD5BF2PPnUxZQsVWQ0ODLegg+3Sf898NrEtQaQiIgMf826whS0HLIcj1aspMe0W83zGH7GZEPMW3Y/Xche1kFdfmsnovdWwxE01edFN2B7h56NYB+Ec3zqd1/QUGeAKa+hde42/JFHyl2jrA+xbnhmaCcGvZFtLAQ4gCi7j/MY/2SHuFC+kj7LcyNMUC3GdY9IpbtrY2SRUBQa+WMw4X1rrTWpn0dyCLLu5eE+xGZ9aAkZjNyMQRPuG13ilWVWkU6olIphnT9lJ245P9xabuQOuMGxm0oih0zJLc/e5SH4HYj7MDXnKXXYMBuzlwqA7L73HVSwhGD
3+
bastion-iad2.corp.redhat.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBIVFOCCtCS6UvwmBrA0NirC2KvEP0lOD8H7zmCSqk0PkzJqDL2TCNn7x3SlnB3Vhw30iVnWLg8rKOMS9RgHQOvc=
4+
bastion-iad2.corp.redhat.com ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIP0o/o7DLMAlSOsB9D/wNSwBolFTQW2yc12rAQAfHWb1
5+
bastion-iad2.corp.redhat.com ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDX/SWfYfqgIEPexLw9MnVaNkgGFYflpc7Lho55T5d/ZVZj1iC+W+qxAtRHKuP2pKqRUTTdg3Q+ibVU+C7ZFNHMWpogIIumMHVsmORTc7nlUVsrf4jN8KxgNV+epn07Vh3f1n/vLJc9WdxeT4l3iUGLvYAgir4VdWwiWJISNnp0NcCF/RhGodLwktx5cooggPRo4qbKsRvGvEXDgnmaXrgk79KiYNMARamjXGoqbxzJa1xnEOymJaaRbB3PlfwL5Ly85xLjT4nzsKMT5Ve4OzDyQupnw5KpzJbR8TMi0z2nR+SMnUlwOEyq7YQSvcCRAUQ6c3Vs5Kr3Yu++UrqBBUPpjH4BbDMYHrzQ+sy/q/NrXNvFUnnc97lzKpR/EWNu90q13Ev9SsERXuOQwZuQPkBAJY90Rqs+sDhkCKn4anVJgkVFH0tJ2HrtyQv8IkeZDl1GtsuAMMleJjpCS2Qt+6c6ebHZAfcNBQfIEkdRwxspN2uaR5UzJz5qFD0W0jpr4Bc=

files/internal_dist-git_ssh.conf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
Host iad2
22
Hostname bastion-iad2.corp.redhat.com
33
GSSAPIAuthentication yes
4+
User jotnar-bot
45
Host pkgs.devel.redhat.com
56
ProxyJump iad2

0 commit comments

Comments
 (0)