home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
linuxmafia.com 2016
/
linuxmafia.com.tar
/
linuxmafia.com
/
pub
/
linux
/
security
/
ylonen-ssh
/
ssh-2.0.13-hostbased-before-pubkey.patch
< prev
next >
Wrap
Text File
|
2000-06-09
|
2KB
|
76 lines
http://marc.theaimsgroup.com/?l=secure-shell&m=95082206531214&w=2
List: secure-shell
Subject: Re: wrong with ssh2
From: "Michael S. Hulet" <hulet@ittc.ukans.edu>
Date: 2000-02-17 19:17:27
Apply this patch from Sami Lehtinen <sjl@ssh.fi>, 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 <sjl@ssh.fi>
#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 }
};