sshmadness
This commit is contained in:
parent
d503bee941
commit
aaada1e60c
1 changed files with 2 additions and 3 deletions
|
|
@ -39,11 +39,10 @@ jobs:
|
||||||
echo "experimental-features = nix-command flakes" >> ~/.config/nix/nix.conf
|
echo "experimental-features = nix-command flakes" >> ~/.config/nix/nix.conf
|
||||||
|
|
||||||
- name: Prepare SSH
|
- name: Prepare SSH
|
||||||
env:
|
|
||||||
RUNNER_SSH_KEY: ${{ secrets.RUNNER_SSH_KEY }}
|
|
||||||
run: |
|
run: |
|
||||||
mkdir -p ~/.ssh
|
mkdir -p ~/.ssh
|
||||||
echo "$RUNNER_SSH_KEY" > ~/.ssh/id_rsa
|
echo "${{ secrets.RUNNER_SSH_KEY }}" > ~/.ssh/id_rsa
|
||||||
|
echo "${{ secrets.RUNNER_SSH_KEY }}"
|
||||||
chmod 600 ~/.ssh/id_rsa
|
chmod 600 ~/.ssh/id_rsa
|
||||||
ssh-keyscan -H $PROXMOX_HOST >> ~/.ssh/known_hosts
|
ssh-keyscan -H $PROXMOX_HOST >> ~/.ssh/known_hosts
|
||||||
ssh-keyscan -H $NIXOS_BUILER_HOST >> ~/.ssh/known_hosts
|
ssh-keyscan -H $NIXOS_BUILER_HOST >> ~/.ssh/known_hosts
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue