[BACK]Return to sshconnect1.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / ssh

Diff for /src/usr.bin/ssh/Attic/sshconnect1.c between version 1.54 and 1.55

version 1.54, 2003/07/22 13:35:22 version 1.55, 2003/08/13 08:46:31
Line 886 
Line 886 
 #endif /* KRB5 */  #endif /* KRB5 */
   
         /*          /*
          * Use rhosts authentication if running in privileged socket and we  
          * do not wish to remain anonymous.  
          */  
         if ((supported_authentications & (1 << SSH_AUTH_RHOSTS)) &&  
             options.rhosts_authentication) {  
                 debug("Trying rhosts authentication.");  
                 packet_start(SSH_CMSG_AUTH_RHOSTS);  
                 packet_put_cstring(local_user);  
                 packet_send();  
                 packet_write_wait();  
   
                 /* The server should respond with success or failure. */  
                 type = packet_read();  
                 if (type == SSH_SMSG_SUCCESS)  
                         goto success;  
                 if (type != SSH_SMSG_FAILURE)  
                         packet_disconnect("Protocol error: got %d in response to rhosts auth",  
                                           type);  
         }  
         /*  
          * Try .rhosts or /etc/hosts.equiv authentication with RSA host           * Try .rhosts or /etc/hosts.equiv authentication with RSA host
          * authentication.           * authentication.
          */           */

Legend:
Removed from v.1.54  
changed lines
  Added in v.1.55