Couldn't continue authentication

from HTYP, the free directory anyone can edit if they can prove to me that they're not a spambot
Revision as of 13:10, 24 November 2024 by Woozle (talk | contribs) (Created page with "category:error message Couldn't continue authentication is part of an error message that appeared when running [https://www.php.net/manual/en/function.ssh2-auth-agent....")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.