我试图从我的Windows服务器调用放置在远程Windows服务器上的批处理文件.我在远程服务器上安装了freeSSHd.我尝试使用putty/plink但没有结果.
我正在使用的命令语法是:
油灰: start E:\putty.exe -ssh user12@serverIP -pw "abcd12" call sample.bat
砰砰: start E:\plink.exe -ssh user12@serverIP -pw "abcd12" cmd.exe -m E://sample.txt
我甚至尝试了上述两个命令的所有变体,如"-m file.txt"等.此外,我可以通过登录到putty控制台执行批处理文件,但不能通过调用我的Windows服务器上的批处理文件.