None of these solutions worked for me on MacOS (Sierra, High Sierra, or Mojave). Adding your own key to FileZilla Settings still prompts for a password after reboot.
Add the following to ~/.ssh/config
:
Host *
ForwardAgent yes
UseKeychain yes
AddKeysToAgent yes
IdentityFile ~/.ssh/id_rsa
Then do this in the terminal:
ssh-add -K ~/.ssh/id_rsa
Then create this file:
~/Library/LaunchAgents/local.computername.AddSSHKeysAtLogin.plist
Put this in it:
Label
local.mycomputername.AddSSHKeysAtLogin
ProgramArguments
/usr/bin/ssh-add
-A
StandardOutPath
/dev/null
StandardErrorPath
/dev/null
RunAtLoad
Reboot and you should be able to use FileZilla without being prompted for a password. It Works!
I got the last part here: https://blog.elao.com/en/tech/ssh-agent-does-not-automatically-load-passphrases-on-the-osx-sierra-keychain/
printenv SSH_AUTH_SOCK
?/tmp/launch-xi2Fu5/Listeners