I'm using PHPSecLib for SSH connection through PHP but I have this error :
Notice: No compatible server to client encryption algorithms found in C:\Program Files (x86)\EasyPHP-DevServer-14.1VC9\data\localweb\nodejs\includes\classes\net\Net\SSH2.php on line 1170
Why ?
Thanks
Quoting this post,
So phpseclib determines which symmetric key algorithms it can use by seeing which ones are includable. The following links demonstrate how this is done:
https://github.com/phpseclib/phpseclib/blob/efd3b96dc8e378a5155cb42f4869de85f4153135/phpseclib/Net/SSH2.php#L1110 https://github.com/phpseclib/phpseclib/blob/efd3b96dc8e378a5155cb42f4869de85f4153135/phpseclib/Net/SSH2.php#L3775
If you're using PHP 5.4 then it's essentially doing
stream_resolve_include_path('Crypt/RC4.php')
. If PHP doesn't think it's includable than it's hard to argue with that.
Could be your include_path
that's not correctly set as well.
来源:https://stackoverflow.com/questions/23641948/notice-no-compatible-server-to-client-encryption-algorithms-found-in