当我集成SSH时,会提示我错误密码/密钥。谁能帮上忙。以及如何在laravel中获取SSH密钥和密码,请参阅我在laravel中的remote.php。
'connections' => [
'production' => [
'host' => '52.33.3.160',
'username' => 'jignesh',
'password' => 'Jignesh@456.',
'key' => 'cnx4MGeUn5xO0XxgQ3xxpo6F18rAe5uXxa3',
'keytext' => 'test',
'keyphrase' => '',
'agent' => '',
'timeout' => 10,
],
],
SSH::into('runtime')->run(array(
'cd /var/www/html/Gallery/banner',
'ffmpeg -i '.$name.' -b 250000 jignesh.mp4',
));