RE: Execute "ssh-host-config" from Windows command-line (or from a C program)

2007-04-03 Thread Fabio Román Arbelo
Right, that's what you'd expect, because the backticks mean "execute this command, then substitute all the output it generates in place on the command line". So you're telling bash to run ssh-host config and then treat all the messages it outputs as commands to execute! Also, because you d

Re: Execute "ssh-host-config" from Windows command-line (or from a C program)

2007-04-02 Thread Fabio Román Arbelo
Fabio Román Arbelo wrote: Hi! I've been trying to launch the "ssh-host-config" from a Windows command-line without success. I've been looking Cygwin mailing-list but I haven't found anything that solves my problem. For example, I've tried thi

Execute "ssh-host-config" from Windows command-line (or from a C program)

2007-04-02 Thread Fabio Román Arbelo
Hi! I've been trying to launch the "ssh-host-config" from a Windows command-line without success. I've been looking Cygwin mailing-list but I haven't found anything that solves my problem. For example, I've tried this: c:\cygwin\bin> bash -c '"`/bin/ssh-host-config -y -c "ntsec" -p 1`