IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 33363


Ignore:
Timestamp:
Feb 24, 2012, 7:51:39 AM (14 years ago)
Author:
eugene
Message:

bad hack on rconnect: pass -x for ssh to prevent X tunneling

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20111122/Ohana/src/libohana/src/rconnect.c

    r33238 r33363  
    5151  if (pipe (stderr_fd) < 0) goto pipe_error;
    5252
    53   ALLOCATE (argv, char *, 4);
     53  char *flag = "-x";
     54
     55  ALLOCATE (argv, char *, 5);
    5456  argv[0] = command;
    55   argv[1] = hostname;
    56   argv[2] = shell;
    57   argv[3] = 0;
     57  argv[1] = flag;
     58  argv[2] = hostname;
     59  argv[3] = shell;
     60  argv[4] = 0;
    5861
    5962  pid = fork ();
Note: See TracChangeset for help on using the changeset viewer.