注意:找不到与客户端加密算法兼容的服务器 [英] Notice: No compatible server to client encryption algorithms found in

查看:368
本文介绍了注意:找不到与客户端加密算法兼容的服务器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用PHPSecLib通过PHP进行SSH连接,但是我有这个错误:



注意:C:\Program中找不到与客户端加密算法兼容的服务器第1170行的文件(x86)\EasyPHP-DevServer-14.1VC9\data\localweb\\\
odejs\includes\classes\\\
et\Net\SSH2.php



为什么?



感谢

解决方案

这篇文章



因此,phpseclib可以通过查看哪些对象密钥算法来确定哪些对称密钥算法是可包含的。以下链接说明了如何完成:



https://github.com/phpseclib/phpseclib/blob/efd3b96dc8e378a5155cb42f4869de85f4153135/phpseclib/Net/SSH2.php#L1110



如果你使用PHP 5.4,那么它基本上是在 stream_resolve_include_path('Crypt / RC4.php )。如果PHP不认为它是可以包含的,那就是难以争辩的。


可能是你的 include_path 也没有正确设置。


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.

这篇关于注意:找不到与客户端加密算法兼容的服务器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆