Hi Antoine,
Thank you very much. .profile made it worked :-)
Regards,
Eran
antoinell wrote:
>
> Hello Eran,
>
> maybe your problem is that you need to execute explicitly in your
> command the .profile or .bashrc or ... of the target user and host.
>
> you might want to do something like
>
-Original Message-
From: Antoine Levy Lambert [mailto:anto...@gmx.de]
Sent: Tuesday, January 05, 2010 4:33 PM
To: Ant Users List
Subject: Re: sshexec on remote server
Hello Eran,
maybe your problem is that you need to execute explicitly in your
command the .profile or .bashrc or ... of the target
Hello Eran,
maybe your problem is that you need to execute explicitly in your
command the .profile or .bashrc or ... of the target user and host.
you might want to do something like
command=". .profile && cd ${env.scripts.folder.path} &&
./PingServer"
regards,
Antoine
eran123 wrote:
Hi,