ssh2_connect():启动 SSH 连接时出错(-44):无法请求 ssh-userauth 服务

问题描述 投票:0回答:1

我在尝试使用

ssh2_connect()
连接到我的 Ubuntu 服务器时遇到问题。我收到的具体错误消息是:

ssh2_connect(): Error starting up SSH connection(-44): Unable to ask for ssh-userauth service

这是我的技术规格:

  • PHP版本:8.3.1
  • Libssh2版本:1.11.0
  • Ubuntu 版本:22.04.3 LTS(Jammy Jellyfish)
php laravel ubuntu ssh libssh2
1个回答
0
投票

它适用于 Docker 环境。

© www.soinside.com 2019 - 2024. All rights reserved.