ci: fix Host key verification failed #199

Merged
teutat3s merged 1 commit from momo/ci-deployment-known-hosts into momo/main 2023-03-08 12:30:25 +00:00
Owner
  • missing SSH known_hosts in deploy pipeline
  • SSH tries to use Trust-On-First-Use (TOFU) interactively to add a new
    host key
  • verbose SSH logs:
debug1: Server host key: ssh-ed25519 SHA256:1bbksDNYBWSh/rIFP7MMfs557kWn1dM64bpXdnfBE5E
debug1: read_passphrase: can't open /dev/tty: No such device or address
  • deploy-rs uses nix, which uses SSH which doesn't use the environment variable
    HOME, but rather /etc/passwd to find a user's HOME
- missing SSH known_hosts in deploy pipeline - SSH tries to use Trust-On-First-Use (TOFU) interactively to add a new host key - verbose SSH logs: ``` debug1: Server host key: ssh-ed25519 SHA256:1bbksDNYBWSh/rIFP7MMfs557kWn1dM64bpXdnfBE5E debug1: read_passphrase: can't open /dev/tty: No such device or address ``` - deploy-rs uses nix, which uses SSH which doesn't use the environment variable HOME, but rather /etc/passwd to find a user's HOME
teutat3s added 1 commit 2023-03-08 12:29:47 +00:00
ci: fix Host key verification failed
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
9dc77abfc8
- missing SSH known_hosts in deploy pipeline
- SSH tries to use Trust-On-First-Use (TOFU) interactively to add a new
  host key
- verbose SSH logs:
debug1: Server host key: ssh-ed25519 SHA256:1bbksDNYBWSh/rIFP7MMfs557kWn1dM64bpXdnfBE5E
debug1: read_passphrase: can't open /dev/tty: No such device or address
- deploy-rs uses nix, which uses SSH which doesn't use the environment variable
HOME, but rather /etc/passwd to find a user's HOME
teutat3s merged commit 8c4cc68bd6 into momo/main 2023-03-08 12:30:25 +00:00
teutat3s deleted branch momo/ci-deployment-known-hosts 2023-03-08 12:30:25 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: pub-solar/os#199
No description provided.