Difference between revisions of "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
 
Line 5: Line 5:
 
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 "<code>ssh-add ~/.ssh/</code>{{arg|filename}}". Apparently the SSH Agent does not make use of the same list of keys that is available to <code>ssh</code>-the-command ([[ssh]]).
 
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 "<code>ssh-add ~/.ssh/</code>{{arg|filename}}". Apparently the SSH Agent does not make use of the same list of keys that is available to <code>ssh</code>-the-command ([[ssh]]).
  
[[Beekeeper Studio]] experiences the same problem with the SSH Agent, although the error message is different.
+
[[Beekeeper Studio]] experiences the same problem with the SSH Agent, although the error message is different (something like "all authorization methods failed").
 
==Links==
 
==Links==
 
* '''2024-11-24''' [https://toot.cat/@woozle/113538004861952703 Woozle on TootCat] about this problem
 
* '''2024-11-24''' [https://toot.cat/@woozle/113538004861952703 Woozle on TootCat] about this problem

Latest revision as of 14:05, 15 September 2025

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 (something like "all authorization methods failed").

Links