SSH Passwordless login problems

Your SSH-keys are not read directly by GitFTP-Deploy. Instead they are stored in the keychain. Pre-Sierra this was not a problem. But on newer versions of macOS this can cause problems if the keychain is locked. I am currently investigating this, meanwhile here are some workarounds.

Manually add key to keychain

ssh-add -K <key>

(it’s recommended to use absolute path of keys) call the command ssh-add -A on every startup of macOS.

mkdir ~/.ssh

Or create a SSH configuration

Create ~/.ssh/config

Add the following to the file

Host server.example.com
IdentityFile ~/.ssh/id_rsa
UseKeychain yes

Read more

https://developer.apple.com/library/archive/technotes/tn2449/_index.html#//apple_ref/doc/uid/DTS40017589 https://github.com/jirsbek/SSH-keys-in-macOS-Sierra-keychain