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

Diff for /src/usr.bin/ssh/sshconnect.c between version 1.93 and 1.94

version 1.93, 2001/02/04 15:32:26 version 1.94, 2001/02/08 10:47:04
Line 584 
Line 584 
                 debug("Found key in %s:%d", host_file, host_line);                  debug("Found key in %s:%d", host_file, host_line);
                 if (options.check_host_ip && ip_status == HOST_NEW) {                  if (options.check_host_ip && ip_status == HOST_NEW) {
                         if (!add_host_to_hostfile(user_hostfile, ip, host_key))                          if (!add_host_to_hostfile(user_hostfile, ip, host_key))
                                 log("Failed to add the %s host key for IP address '%.30s' to the list of known hosts (%.30s).",                                  log("Failed to add the %s host key for IP address '%.128s' to the list of known hosts (%.30s).",
                                     type, ip, user_hostfile);                                      type, ip, user_hostfile);
                         else                          else
                                 log("Warning: Permanently added the %s host key for IP address '%.30s' to the list of known hosts.",                                  log("Warning: Permanently added the %s host key for IP address '%.128s' to the list of known hosts.",
                                     type, ip);                                      type, ip);
                 }                  }
                 break;                  break;
Line 697 
Line 697 
         if (options.check_host_ip && host_status != HOST_CHANGED &&          if (options.check_host_ip && host_status != HOST_CHANGED &&
             ip_status == HOST_CHANGED) {              ip_status == HOST_CHANGED) {
                 log("Warning: the %s host key for '%.200s' "                  log("Warning: the %s host key for '%.200s' "
                     "differs from the key for the IP address '%.30s'",                      "differs from the key for the IP address '%.128s'",
                     type, host, ip);                      type, host, ip);
                 if (host_status == HOST_OK)                  if (host_status == HOST_OK)
                         log("Matching host key in %s:%d", host_file, host_line);                          log("Matching host key in %s:%d", host_file, host_line);

Legend:
Removed from v.1.93  
changed lines
  Added in v.1.94