通过SSH-Ant连接两个Windows服务器
希望一切顺利 我想使用ssh连接两个windows服务器。但是,我的问题是,当我使用ANT任务“sshexec”从远程windows server 2009执行.bat文件时,如下所示:通过SSH-Ant连接两个Windows服务器,windows,ant,ssh,server,Windows,Ant,Ssh,Server,希望一切顺利 我想使用ssh连接两个windows服务器。但是,我的问题是,当我使用ANT任务“sshexec”从远程windows server 2009执行.bat文件时,如下所示: <sshexec host="10.46.220.108" username="support" password="India123" trust="true" verbose="true" command="D:\project\jboss-eap-6.1\bin\standalone.bat -
<sshexec host="10.46.220.108"
username="support"
password="India123"
trust="true"
verbose="true"
command="D:\project\jboss-eap-6.1\bin\standalone.bat -b hostname41" />
请引导我解决这个问题
注意:远程服务器在端口号22中运行copssh
[sshexec] Connecting to hostname:22
[sshexec] cmd :D:\project\jboss-eap-6.1\bin\standalone.bat -b hostname41
[sshexec] Microsoft Windows [Version 6.1.7601]
[sshexec] Copyright (c) 2009 Microsoft Corporation. All rights reserved.
[sshexec] C:\users\administrator>