ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Gainty" <mgai...@hotmail.com>
Subject Re: Using SSH in task with cygwin
Date Mon, 25 Aug 2003 02:28:16 GMT
Mssr Auberger
What is your TERM set to?
-Martin
----- Original Message ----- 
From: "Georges Auberger" <georges@mobile-workforce.com>
To: <user@ant.apache.org>
Sent: Sunday, August 24, 2003 11:35 AM
Subject: Using SSH in task with cygwin


> I'm trying to use ssh in an exec task to connect to a remote server. It 
> works fine under OS X bash but when running under Cygwin on Windows 
> 2000, I never get a prompt from SSH to enter the password. It seems 
> that stdin is not redirected properly (I experimented with a simple 
> bash read and got the same effect). I do not want to use certificate 
> with SSH so i need to get prompted for the password.
> Anybody had success using exec cmd under cygwin that require shell 
> input?
> Georges
> 
>   <target name="ssh-execute" description="Execute a cmd via ssh 
> connection">
>      <echo message="Executing ${ssh.shell.command} at 
> ${ssh.user}@${ssh.host}"/>
> <exec executable="ssh" >
> <arg line="-p ${ssh.port} -T ${ssh.user}@${ssh.host} 
> ${ssh.shell.execute.prefix}${ssh.shell.command}"/>
> </exec>
>      </target>
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message