Return to sftp.c CVS log | Up to [local] / src / usr.bin / ssh |
version 1.5, 2001/02/06 23:53:54 | version 1.6, 2001/02/07 22:27:18 | ||
---|---|---|---|
|
|
||
/* Init args array */ | /* Init args array */ | ||
if (args == NULL) { | if (args == NULL) { | ||
nargs = 4; | nargs = 6; | ||
i = 0; | i = 0; | ||
args = xmalloc(sizeof(*args) * nargs); | args = xmalloc(sizeof(*args) * nargs); | ||
args[i++] = "ssh"; | args[i++] = "ssh"; | ||
args[i++] = "-oProtocol=2"; | args[i++] = "-oProtocol=2"; | ||
args[i++] = "-oForwardAgent=no"; | |||
args[i++] = "-oForwardX11=no"; | |||
args[i++] = "-s"; | args[i++] = "-s"; | ||
args[i++] = NULL; | args[i++] = NULL; | ||
} | } |