Apply this patch from Sami Lehtinen <[EMAIL PROTECTED]>, it may fix your problem.
You can also do a ssh -v   and supply more information to the list.


Michael Hulet
Network System Administrator
ITTC, University of Kansas


On Thu, 17 Feb 2000, chen yuan wrote:

> Dear all:
>    I have installed both the newest version of ssh1 and ssh2 on my
> redhat 6.1, the problem is I can only connect to the server by using the
> ssh1. When I connected the server by using the ssh2 clients: The
> following error appeared:
> Disconnected; authentication error (No further authentication methods
> available.)
> I donot know what is wrong with ssh2.
> Chen Yuan
> 
To apply this patch, cd to your ssh-2.0.13 source directory, and issue 
the following command:

% patch -p1 -l < patch-ssh-2.0.13-hostbased.before.pubkey

You then should

% make clean
% make
% su
Password:
# make install

Sami Lehtinen <[EMAIL PROTECTED]>

#End prologue

diff -u -r1.1.1.1 sshauthmethods.c
--- ssh-2.0.13.orig/apps/ssh/sshauthmethods.c   1999/04/09 01:46:18     1.1.1.1
+++ ssh-2.0.13/apps/ssh/sshauthmethods.c        1999/06/18 03:16:02
@@ -25,9 +25,9 @@
 
 static SshAuthServerMethod server_methods[] =
 {
+  { SSH_AUTH_HOSTBASED, ssh_server_auth_hostbased },
   { SSH_AUTH_PUBKEY, ssh_server_auth_pubkey },
   { SSH_AUTH_PASSWD, ssh_server_auth_passwd },
-  { SSH_AUTH_HOSTBASED, ssh_server_auth_hostbased },
   { NULL, NULL }
 };
 
diff -u -r1.1.1.1 sshauthmethodc.c
--- ssh-2.0.13.orig/apps/ssh/sshauthmethodc.c   1999/04/09 01:45:51     1.1.1.1
+++ ssh-2.0.13/apps/ssh/sshauthmethodc.c        1999/06/18 03:15:47
@@ -29,9 +29,9 @@
 
 SshAuthClientMethod ssh_client_auth_methods[] =
 {
+  { SSH_AUTH_HOSTBASED, ssh_client_auth_hostbased },
   { SSH_AUTH_PUBKEY, ssh_client_auth_pubkey }, 
   { SSH_AUTH_PASSWD, ssh_client_auth_passwd },
-  { SSH_AUTH_HOSTBASED, ssh_client_auth_hostbased },
   { NULL, NULL }
 };
 

Reply via email to