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 >
Text File  |  2000-06-09  |  2KB  |  76 lines

  1. http://marc.theaimsgroup.com/?l=secure-shell&m=95082206531214&w=2
  2.  
  3. List:     secure-shell
  4. Subject:  Re: wrong with ssh2
  5. From:     "Michael S. Hulet" <hulet@ittc.ukans.edu>
  6. Date:     2000-02-17 19:17:27
  7.  
  8. Apply this patch from Sami Lehtinen <sjl@ssh.fi>, it may fix your problem.
  9. You can also do a ssh -v   and supply more information to the list.
  10.  
  11.  
  12. Michael Hulet
  13. Network System Administrator
  14. ITTC, University of Kansas
  15.  
  16.  
  17. On Thu, 17 Feb 2000, chen yuan wrote:
  18.  
  19. > Dear all:
  20. >    I have installed both the newest version of ssh1 and ssh2 on my
  21. > redhat 6.1, the problem is I can only connect to the server by using the
  22. > ssh1. When I connected the server by using the ssh2 clients: The
  23. > following error appeared:
  24. > Disconnected; authentication error (No further authentication methods
  25. > available.)
  26. > I donot know what is wrong with ssh2.
  27. > Chen Yuan
  28.  
  29.  
  30. To apply this patch, cd to your ssh-2.0.13 source directory, and issue 
  31. the following command:
  32.  
  33. % patch -p1 -l < patch-ssh-2.0.13-hostbased.before.pubkey
  34.  
  35. You then should
  36.  
  37. % make clean
  38. % make
  39. % su
  40. Password:
  41. # make install
  42.  
  43. Sami Lehtinen <sjl@ssh.fi>
  44.  
  45. #End prologue
  46.  
  47. diff -u -r1.1.1.1 sshauthmethods.c
  48. --- ssh-2.0.13.orig/apps/ssh/sshauthmethods.c    1999/04/09 01:46:18    1.1.1.1
  49. +++ ssh-2.0.13/apps/ssh/sshauthmethods.c    1999/06/18 03:16:02
  50. @@ -25,9 +25,9 @@
  51.  
  52.  static SshAuthServerMethod server_methods[] =
  53.  {
  54. +  { SSH_AUTH_HOSTBASED, ssh_server_auth_hostbased },
  55.    { SSH_AUTH_PUBKEY, ssh_server_auth_pubkey },
  56.    { SSH_AUTH_PASSWD, ssh_server_auth_passwd },
  57. -  { SSH_AUTH_HOSTBASED, ssh_server_auth_hostbased },
  58.    { NULL, NULL }
  59.  };
  60.  
  61. diff -u -r1.1.1.1 sshauthmethodc.c
  62. --- ssh-2.0.13.orig/apps/ssh/sshauthmethodc.c    1999/04/09 01:45:51    1.1.1.1
  63. +++ ssh-2.0.13/apps/ssh/sshauthmethodc.c    1999/06/18 03:15:47
  64. @@ -29,9 +29,9 @@
  65.  
  66.  SshAuthClientMethod ssh_client_auth_methods[] =
  67.  {
  68. +  { SSH_AUTH_HOSTBASED, ssh_client_auth_hostbased },
  69.    { SSH_AUTH_PUBKEY, ssh_client_auth_pubkey }, 
  70.    { SSH_AUTH_PASSWD, ssh_client_auth_passwd },
  71. -  { SSH_AUTH_HOSTBASED, ssh_client_auth_hostbased },
  72.    { NULL, NULL }
  73.  };
  74.  
  75.