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

Diff for /src/usr.bin/ssh/ssh.c between version 1.22 and 1.23

version 1.22, 1999/10/03 21:50:04 version 1.23, 1999/10/12 21:04:22
Line 97 
Line 97 
   fprintf(stderr, "  -t          Tty; allocate a tty even if command is given.\n");    fprintf(stderr, "  -t          Tty; allocate a tty even if command is given.\n");
   fprintf(stderr, "  -v          Verbose; display verbose debugging messages.\n");    fprintf(stderr, "  -v          Verbose; display verbose debugging messages.\n");
   fprintf(stderr, "  -V          Display version number only.\n");    fprintf(stderr, "  -V          Display version number only.\n");
     fprintf(stderr, "  -P          Don't allocate a privileged port.\n");
   fprintf(stderr, "  -q          Quiet; don't display any warning messages.\n");    fprintf(stderr, "  -q          Quiet; don't display any warning messages.\n");
   fprintf(stderr, "  -f          Fork into background after authentication.\n");    fprintf(stderr, "  -f          Fork into background after authentication.\n");
   fprintf(stderr, "  -e char     Set escape character; ``none'' = disable (default: ~).\n");    fprintf(stderr, "  -e char     Set escape character; ``none'' = disable (default: ~).\n");
Line 274 
Line 275 
           options.gateway_ports = 1;            options.gateway_ports = 1;
           break;            break;
   
           case 'P':
             options.use_privileged_port = 0;
             break;
   
         case 'a':          case 'a':
           options.forward_agent = 0;            options.forward_agent = 0;
           break;            break;
Line 522 
Line 527 
   restore_uid();    restore_uid();
   
   /* Open a connection to the remote host.  This needs root privileges if    /* Open a connection to the remote host.  This needs root privileges if
      rhosts_authentication is true. */       rhosts_{rsa_}authentication is true. */
   
     if (!options.use_privileged_port)
       {
          options.rhosts_authentication = 0;
          options.rhosts_rsa_authentication = 0;
       }
   
   ok = ssh_connect(host, &hostaddr, options.port, options.connection_attempts,    ok = ssh_connect(host, &hostaddr, options.port, options.connection_attempts,
                    !options.rhosts_authentication &&                     !options.rhosts_authentication &&
                    !options.rhosts_rsa_authentication,                     !options.rhosts_rsa_authentication,

Legend:
Removed from v.1.22  
changed lines
  Added in v.1.23