If your target server is running Windows, then you'll need to setup an SSH distribution on that server and configure a user that your build scripts can use when uploading files. I'm pretty sure Cygwin allows authentication with domain credentials, which is what you want to use here.

As for the Ant side, if you install the jcsh libraries, you'll have support in Ant for the "scp" task, which will let you do what you want. Check in the Ant documentation page for "Optional Tasks".

        Cheers,
                Jean-Philippe Daigle


On Thu, 30 Mar 2006, Andy Levy wrote:

On 3/30/06, Res Pons <[EMAIL PROTECTED]> wrote:
I FTP couple of files from a Linux RHEL 3.5 server to a Windows Domain and
my ftp script sends my password in raw ascii text.  I have no idea to send
my password encrypted for Windows to understand.  Any idea, suggestion, or
forum I can pose this question please?

FTP is plain-text only.  sftp/scp are secure methods of doing
basically the same thing, but require both a client and server - a
standard FTP server can't handle secure connections.  scp is, or at
least used to be, distributed with ssh (I think).  Or you could set up
an SSH tunnel and then FTP through that.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to