Ticket #122 (closed defect)
Opened 3 years ago
Last modified 3 years ago
ssh - FreeBSD not working
| Reported by: | anonymous | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | API | Version: | |
| Keywords: | Cc: | alamaison, bagder | |
| Blocked By: | Blocks: |
Description
Hi, I have a
: ssh2_auth_password() [function.ssh2-auth-password]: Authentication failed for root using password in /var/www/1112.php on line 8
fail: unable to authenticate
when I try to work with libssh2. I tried to connect to FreeBSD server with libssh2 but this error appear.
Change History
comment:1 Changed 3 years ago by alamaison
Note: See
TracTickets for help on using
tickets.

I'm afraid you haven't given nearly enough information for us to help you. Also, you appear to be using the PHP libssh2 library bindings. This project only deals with the C libssh2 library itself.
If you would like help from the community here, please post an example program written in C or C++ that reproduces your problem. The example programs included with libssh2 make a good starting point.