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

Andrew Louie louiea@gmail.com
Mon Apr 2 17:16:00 GMT 2007


On 4/2/07, Fabio Román Arbelo  wrote:
>
> > Fabio Román Arbelo wrote:

> Thanks Larry for your help!
>
> Well, I've done this:
>
>     u2d ssh-host-config
>
> I though "unix2dos" is what I'm looking for. And now, after excuting this:
>
>     c:\cygwin\bin> bash ""ssh-host-config -y -c "ntsec" -p 10000""
>
> I got this:
>
>     ssh-host-config: line 6: $'\r': command not found
>     ssh-host-config: line 9: $'\r': command not found
>     ssh-host-config: line 13: $'\r': command not found
>     ssh-host-config: line 17: $'\r': command not found
>     ssh-host-config: line 22: $'\r': command not found
>     ssh-host-config: line 23: syntax error near unexpected token `$'\r''
>     'sh-host-config: line 23: `request()
>
> Any other advice? I'm really lost here.
> Thanks!
>

I think this should win some kind of award =P


-- 
-Andrew Louie



More information about the Cygwin-talk mailing list