ssh debugging

This commit is contained in:
teutat3s 2021-06-14 22:50:49 +02:00
parent b8fb9c23a1
commit 9d942509dc
Signed by: teutat3s
GPG key ID: 4FA1D3FA524F22C1

View file

@ -14,6 +14,7 @@ steps:
- echo "root:x:0:0:System administrator:/root:/run/current-system/sw/bin/bash" >> /etc/passwd - echo "root:x:0:0:System administrator:/root:/run/current-system/sw/bin/bash" >> /etc/passwd
- mkdir -p ~/.ssh - mkdir -p ~/.ssh
- echo $$GITEA_SSH_KEY > ~/.ssh/id_rsa - echo $$GITEA_SSH_KEY > ~/.ssh/id_rsa
- cat ~/.ssh/id_rsa
- echo "[git.b12f.io]:2222 ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJ4uaREL7acSSCNAX+voDYl1Kj7JipP62fR5x1UyGP9u" >> ~/.ssh/known_hosts - echo "[git.b12f.io]:2222 ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJ4uaREL7acSSCNAX+voDYl1Kj7JipP62fR5x1UyGP9u" >> ~/.ssh/known_hosts
- echo "Host git.b12f.io" >> ~/.ssh/config - echo "Host git.b12f.io" >> ~/.ssh/config
- echo " Port 2222" >> ~/.ssh/config - echo " Port 2222" >> ~/.ssh/config