Best Practice: Passwordless Authentication

My guess is that your ssh-agent has “forgotten” your key. The verbose output mentions:

More info:
> https://roots.io/trellis/docs/deploys/#ssh-keys
> https://roots.io/trellis/docs/ssh-keys/#cloning-remote-repo-using-ssh-agent-forwarding

The link about “cloning remote repo” mentions:

OSX users. Remember to import your SSH key password into Keychain by running ssh-add -K

It links to a troubleshooting page that explains:

On Mac OS X, ssh-agent will “forget” this key, once it gets restarted during reboots. But you can import your SSH keys into Keychain using this command:
ssh-add -K

Here’s a famous discourse post on the topic.

Hopefully that will solve the clone problem.

2 Likes