Couldn't continue authentication

from HTYP, the free directory anyone can edit if they can prove to me that they're not a spambot
Jump to navigation Jump to search

Couldn't continue authentication is part of an error message that appeared when running ssh2_auth_agent() in PHP 8.3.6. The full message was:

PHP Warning:  ssh2_auth_agent(): Couldn't continue authentication in <file> on line <line number>

This is probably specific to the ssh2 library rather than the PHP version. The problem was fixed by loading the necessary keypair into the SSH Agent with the command "ssh-add ~/.ssh/<filename>". Apparently the SSH Agent does not make use of the same list of keys that is available to ssh-the-command (ssh).

Beekeeper Studio experiences the same problem with the SSH Agent, although the error message is different.

Links