Since macOS sierra the system don’t adds ssh-keys to the agent automatically anymore. Add the following ssh-config file to restore the previous behaviour:
# ~/.ssh/config Host * UseKeychain yes AddKeysToAgent yes
after connecting to a remote shell and typing the passphrase once the key/passphrase will be remembered in the macOS keychain.