Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

dasuntharanga's avatar

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

I'm facing an issue while trying to connect to my Ubuntu server using ssh2_connect(). The specific error message I receive is:

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

Here are my technical specifications:

  • PHP version: 8.3.1
  • Libssh2 version: 1.11.0
  • Ubuntu version: 22.04.3 LTS (Jammy Jellyfish)
0 likes
3 replies

Please or to participate in this conversation.