Forum Discussion
ssa
10 years agoOccasional Contributor
Alexei Karas thanks for you post.
I've installed openSSH in my system (win7) and able to do ssh like below...
new ActiveXObject("WScript.Shell").Run("C:/cygwin64/bin/ssh ardome@HOST");
but unable to do scp in the same way..
new ActiveXObject("WScript.Shell").Run("C:/cygwin64/bin/scp FILE USER@HOST:");
Followed the shared tharead and tried like below but in this case ssh and scp nothing works.
Sys.OleObject("WScript.Shell").Exec("C:\\cygwin64\\bin\\ssh.exe USER@HOST");
Sys.OleObject("WScript.Shell").Exec("C:\\cygwin64\\bin\\scp.exe FILE USER@HOST:");
Any idea what might possibley be gone wrong?
Related Content
- 8 years agoarupacharya1784
- 11 years agomvandenberg2