Re: Problem with sshexec task: reject HostKey

2005-06-01 Thread j&h systems
AM > > To: Ant Users List > > Subject: Re: Problem with sshexec task: reject HostKey > > > > > > Hi, > > > > Try setting trust="true" like the following: > > > > > trust="true"> > > > > > > I think if

RE: Problem with sshexec task: reject HostKey

2005-06-01 Thread Anderson, Rob (Global Trade)
You can also set knownhosts=/path/to/your/knownhosts/file. -Rob A > -Original Message- > From: j&h systems [mailto:[EMAIL PROTECTED] > Sent: Wednesday, June 01, 2005 10:32 AM > To: Ant Users List > Subject: Re: Problem with sshexec task: reject HostKey > > >

Re: Problem with sshexec task: reject HostKey

2005-06-01 Thread Bill Winspur
Thanks Jian, setting trust="true" got sshexec working for me, Bill j&h systems wrote: Hi, Try setting trust="true" like the following: I think if you don't set trust to true, the host key (which is on the server) will be rejected by your ant ssh task. Cheers, Jian On 7/2/05, Bill Winspu

Re: Problem with sshexec task: reject HostKey

2005-06-01 Thread j&h systems
The other thing is, since jsch is frequently used. Is it possible to include it by default into the ant distribution? Any licensing issues? Jian On 6/1/05, j&h systems <[EMAIL PROTECTED]> wrote: > Hi, > > Try setting trust="true" like the following: > > > > > I think if you don't set trust t

Re: Problem with sshexec task: reject HostKey

2005-06-01 Thread j&h systems
Hi, Try setting trust="true" like the following: I think if you don't set trust to true, the host key (which is on the server) will be rejected by your ant ssh task. Cheers, Jian On 7/2/05, Bill Winspur <[EMAIL PROTECTED]> wrote: > I am using the sshexec task in the following build.xml, und

Problem with sshexec task: reject HostKey

2005-06-01 Thread Bill Winspur
I am using the sshexec task in the following build.xml, under XP Pro From which I get the following console output: E:\swd\devt\eclipseWkspce\Sysadmin\tomcat\ant\ssh-stuff>ant Buildfile: build.xml sshtry: [sshexec] Connecting to xxx.com:22 BUILD FAILED E:\swd\devt\eclipseW