Dear All , I have to generate keys from cWrsync, I have Command:
"ssh-keygen -t rsa -q -N '' -f %ALLUSERSPROFILE%\.ssh\id_rsa"
I placed that command into a batch file, that is pointing to cwRsync\bin
directory, where ssh-keygen exe file is located, That batch file working fine Windows, But in Vista it is throwing unexpected result... the output of batch on Vista is:
C:\Program Files\cwRsync\bin>ssh-keygen -t rsa -q -N '' -f C:\ProgramData\.ssh\i
d_rsa
open C:\\ProgramData\\.ssh\\id_rsa failed: Bad address.
Saving the key failed: C:\ProgramData\.ssh\id_rsa.
The intersting thing is that if i manually run this command in commandline , it again run successfully,