ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ben Gill" <>
Subject RE: SCP Task - ant 1.6alpha
Date Fri, 12 Sep 2003 14:50:37 GMT
ok I assigned the trust = "yes" and specified the known_hosts file in my .ssh dir and now I
just get:

      [scp] Connecting to myremotehost:22

build.xml:288: Pipe closed

No other information... (I have checked the file input and output paths)...

Is there any way of getting more debug out of the task (to see what is causing the IOException)?
Or can I do a secure copy using SSHEXEC?


-----Original Message-----
From: Stefan Bodewig []
Sent: 12 September 2003 15:26
Subject: Re: SCP Task - ant 1.6alpha

On Fri, 12 Sep 2003, Ben Gill <> wrote:

> I was not sure where to find the dtd/doc for the scp task, but it
> was easy to work out..


> Still not quite there...  the scp task seems to be using ssh1 not
> ssh2...

No, it does SSH2 quite well for me.

> I have a .ssh2 dir though!!  why is it not using this!?

Because it uses .ssh as its default (which is what OpenSSH uses, for
example).  The tasks have a knownhosts attribute that you can use to
point it to your file, you can also set trust to true to get by
unknown hosts.


To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message