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 10000`"'
And this is what I got:
/bin/ssh-host-config: line 110: uname: command not found
/bin/ssh-host-config: line 111: expr: command not found
/bin/ssh-host-config: line 113: [: -gt: unary operator expected
...
/bin/ssh-host-config: line 424: [: -gt: unary operator expected
...
WARNING: Adding ssh to failed!
Host configuration finished. Have fun!: No such file or directory
Where "..." means more errors that I don't put here because they are
similar to these ones.
And if I do this:
bash ""ssh-host-config -y -c "ntsec" -p 10000""
I've got similar errors too. I would like to launch this script from a C
program, that's why I'm trying this. I'm able to execute ".exe" cygwin
programs, like "cygrunsrv", but I don't know what to do with this
script. Any advice would be great.
Thanks very much!
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/