0

In my ssh client I am using ssh_userauth_none before calling ssh_userauth_list(). But it always returns SSH_AUTH_ERROR. When I try to find out the reason for error using ssh_get_error() it says Socket error: disconnected.

I have used the same code on other linux machine (Ubuntu), it works fine. But when I try it on an embedded machine which is based on CentOS linux, it always fails with the error -SSH_AUTH_ERROR.

Am I missing any fields in ssh_config file which makes none authentication to work?.

Or is it related to some username/path issue?

Jakuje
  • 24,773
  • 12
  • 69
  • 75
Banu Prakash
  • 111
  • 9

0 Answers0