ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christopher Styles" <styles...@gmail.com>
Subject Re: Can't connect to unix server from windows server...
Date Wed, 30 Jan 2008 17:35:37 GMT
Yes, I can connect via Putty... I'm thinking maybe my jsch.jar is out of
date... Although, I'm not sure that's the issue...





On 1/30/08, Steve Loughran <stevel@apache.org> wrote:
>
> Christopher Styles wrote:
> > Hi,
> >
> > I'm trying to run a target from my Windows 2003 Server build box to
> connect
> > to a solaris server to execute a command, but I'm getting "
> > com.jcraft.jsch.JSchException: Auth fail"... Does anyone know how to
> resolve
> > this issue...??
> >
> > <target name="stop-web-server">
> > <sshexec host="${hostname}"
> >  username="${username}"
> >  password="${password}"
> >  trust="true"
> >  command="/local/sys/was/profiles/App01/bin/stopServer.sh server1 -user
> > Admin -password password"/>
> > </target>
> >
>
> this generally means it didnt authorise you. Password or known hosts are
> often the problem. Can you connect from Putty on the box?
>
> --
> Steve Loughran                  http://www.1060.org/blogxter/publish/5
> Author: Ant in Action           http://antbook.org/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message