Skip to content

Instantly share code, notes, and snippets.

@s3w47m88
Created April 4, 2017 23:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save s3w47m88/c3a912fd50ec2dd3f8eb60a80142864b to your computer and use it in GitHub Desktop.
Save s3w47m88/c3a912fd50ec2dd3f8eb60a80142864b to your computer and use it in GitHub Desktop.
Trellis SSH Key Forwarding Error
TASK [deploy : Add known_hosts] ************************************************
System info:
Ansible 2.2.1.0; Darwin
Trellis at "Check Ansible version before Ansible validates task attributes"
---------------------------------------------------
ssh-keygen failed (rc=255,stdout='',stderr='do_known_hosts: hostkeys_foreach
failed: Permission denied
')
failed: [staging.OMITTED.com] (item=github.com ssh-rsa OMITTED==) => {"failed": true, "item": "github.com ssh-rsa OMITTED=="}
---------------------------------------------------
ssh-keygen failed (rc=255,stdout='',stderr='do_known_hosts: hostkeys_foreach
failed: Permission denied
')
failed: [staging.OMITTED.com] (item=bitbucket.org ssh-rsa OMITTED==) => {"failed": true, "item": "bitbucket.org ssh-rsa OMITTED=="}
---------------------------------------------------
ssh-keygen failed (rc=255,stdout='',stderr='do_known_hosts: hostkeys_foreach
failed: Permission denied
')
failed: [staging.OMITTED.com] (item=gitlab.com ssh-ed25519 OMITTED) => {"failed": true, "item": "gitlab.com ssh-ed25519 OMITTED"}
---------------------------------------------------
ssh-keygen failed (rc=255,stdout='',stderr='do_known_hosts: hostkeys_foreach
failed: Permission denied
')
failed: [staging.OMITTED.com] (item=gitlab.com ssh-rsa OMITTED) => {"failed": true, "item": "gitlab.com ssh-rsa OMITTED"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment