我有连接到我的ssh槽php(ssh在ubuntu 16.04服务器上)的问题 php代码
<?php
set_include_path(get_include_path() . PATH_SEPARATOR . 'phpseclib1.0.2');
include('Net/SSH2.php');
$ssh = new Net_SSH2('****:22');
if (!$ssh->login('***', '***')) {
exit('Login Failed');
}
echo $ssh->exec('pwd');
echo $ssh->exec('ls -la');
?>
,错误是
Notice: No compatible server to client encryption algorithms found in D:\xampp\htdocs\test\Net\SSH2.php on line 1561
Login Failed