Using cvs+ssh with an alternative ssh key…
Is this really the best way to use an alternative ssh key for checking out from CVS?
#include
#include
int main(int argc, char **argv)
{
char **args;
int i;
args = (char **) malloc((argc + 3) * sizeof(char *));
if (args == NULL)
{
fprintf(stderr, “Out of memory\n”);
exit(1);
}
args[0] = argv[0];
args[1] = “-i”;
args[2] = “/opt/gary/ssh/identity”;
for (i = 1; i