[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Connection to Libssh Server using command line ssh


Hi,
I was able to create a Libssh server :)
If i connect to the server using my own Libssh client --> i can login with
user + password (works ok).

But if try to login from ssh Linux command line:
ssh -o PreferredAuthentications=password myuser@myhost -p 6060

Then the auth method received in the server is SSH_AUTH_METHOD_NONE (1),
instead of SSH_AUTH_METHOD_PASSWORD (2).

It does not matter the options in the ssh command (i tried hundreds) the
auth method is always SSH_AUTH_METHOD_NONE (1).

Any idea of what is causing this?

regards,
bruno
PS:
In Linux native sshd the same command prompts a password to be entered.
ssh -o PreferredAuthentications=password myuser@myhost

Follow-Ups:
Re: Connection to Libssh Server using command line sshBruno Buzzi Brassesco <bruno.brasesco@xxxxxxxxx>
Archive administrator: postmaster@lists.cynapses.org