This is the mail archive of the cygwin-talk mailing list for the cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


On 02 April 2007 18:17, Andrew Louie wrote:

> 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


  I suggest a Darwin...


    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]