Skip to content

Would it be possible to use GLPI Remote Inventory with SSH-keygen on Linux? #678

Answered by g-bougard
psl2024 asked this question in Q&A
Discussion options

You must be logged in to vote

So indeed, it works, the remaining error [error] [libssh2] Can't authenticate on x.x.x.x remote host is only related to the libssh2 support which seems to fail and then glpi-agent fallback on using ssh command directly.

You have few choice about this error:

  1. just ignore it
  2. update libssh2 to a newer version as the remote host probably doesn't support communicating with it. But this may require to use a more recent linux OS.
  3. force to use only ssh mode by adding to your ssh url ?mode=ssh to have --remote option looking like: --remote="ssh://[email protected]?mode=ssh"

Replies: 1 comment 7 replies

Comment options

You must be logged in to vote
7 replies
@psl2024
Comment options

@g-bougard
Comment options

@psl2024
Comment options

@g-bougard
Comment options

Answer selected by psl2024
@psl2024
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
help wanted Extra attention is needed
2 participants