Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@jakarta.apache.org Received: (qmail 17106 invoked by uid 500); 26 Jul 2001 15:32:42 -0000 Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Reply-To: ant-user@jakarta.apache.org Delivered-To: mailing list ant-user@jakarta.apache.org Received: (qmail 17081 invoked from network); 26 Jul 2001 15:32:42 -0000 Content-Type: text/plain; charset="iso-8859-1" From: Peter Donald To: ant-user@jakarta.apache.org Subject: Re: Using Ant with SSH Date: Fri, 27 Jul 2001 01:26:16 +1000 X-Mailer: KMail [version 1.2] References: <5.0.2.1.2.20010726110422.00a7acf0@camail.harvard.edu> <5.0.2.1.2.20010726111302.00ae9b28@camail.harvard.edu> In-Reply-To: <5.0.2.1.2.20010726111302.00ae9b28@camail.harvard.edu> MIME-Version: 1.0 Message-Id: <01072701261602.00795@helm.realityforge.org> Content-Transfer-Encoding: 8bit X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N On Fri, 27 Jul 2001 01:17, Filip Cruz wrote: > Sorry, > I am trying to use Ant to deploy to our production servers through SSH. In > brief I want to be able to deploy the files over SSH to the server from a > task in the Ant build.xml file. I am using a Win2K client and I have SSH > Secure Shell client and SecureCRT. > > Is there a way to deploy over SSH from Ant?? If so, how is it done? I don't know about SSH on win32 but on linux I can do something like. scp myfile.zip fred@bedrock.com:/my/deployment/dir and use public/private key system to authenticate. So to do it in ant it would be as simple as Cheers, Pete *-----------------------------------------------------* | "Faced with the choice between changing one's mind, | | and proving that there is no need to do so - almost | | everyone gets busy on the proof." | | - John Kenneth Galbraith | *-----------------------------------------------------*