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

Diff for /src/usr.bin/ssh/sshconnect2.c between version 1.107 and 1.108

version 1.107, 2002/07/01 19:48:46 version 1.108, 2002/11/21 22:45:31
Line 128 
Line 128 
         packet_send();          packet_send();
         packet_write_wait();          packet_write_wait();
 #endif  #endif
         debug("done: ssh_kex2.");  
 }  }
   
 /*  /*
Line 224 
Line 223 
         if (options.challenge_response_authentication)          if (options.challenge_response_authentication)
                 options.kbd_interactive_authentication = 1;                  options.kbd_interactive_authentication = 1;
   
         debug("send SSH2_MSG_SERVICE_REQUEST");  
         packet_start(SSH2_MSG_SERVICE_REQUEST);          packet_start(SSH2_MSG_SERVICE_REQUEST);
         packet_put_cstring("ssh-userauth");          packet_put_cstring("ssh-userauth");
         packet_send();          packet_send();
           debug("SSH2_MSG_SERVICE_REQUEST sent");
         packet_write_wait();          packet_write_wait();
         type = packet_read();          type = packet_read();
         if (type != SSH2_MSG_SERVICE_ACCEPT) {          if (type != SSH2_MSG_SERVICE_ACCEPT)
                 fatal("denied SSH2_MSG_SERVICE_ACCEPT: %d", type);                  fatal("Server denied authentication request: %d", type);
         }  
         if (packet_remaining() > 0) {          if (packet_remaining() > 0) {
                 char *reply = packet_get_string(NULL);                  char *reply = packet_get_string(NULL);
                 debug("service_accept: %s", reply);                  debug2("service_accept: %s", reply);
                 xfree(reply);                  xfree(reply);
         } else {          } else {
                 debug("buggy server: service_accept w/o service");                  debug("buggy server: service_accept w/o service");
         }          }
         packet_check_eom();          packet_check_eom();
         debug("got SSH2_MSG_SERVICE_ACCEPT");          debug("SSH2_MSG_SERVICE_ACCEPT received");
   
         if (options.preferred_authentications == NULL)          if (options.preferred_authentications == NULL)
                 options.preferred_authentications = authmethods_get();                  options.preferred_authentications = authmethods_get();

Legend:
Removed from v.1.107  
changed lines
  Added in v.1.108