Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 38049 invoked from network); 2 Oct 2007 00:35:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 2 Oct 2007 00:35:45 -0000 Received: (qmail 86753 invoked by uid 500); 2 Oct 2007 00:35:32 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 86709 invoked by uid 500); 2 Oct 2007 00:35:31 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 86698 invoked by uid 99); 2 Oct 2007 00:35:31 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Oct 2007 17:35:31 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of mlgiroux@gmail.com designates 209.85.128.191 as permitted sender) Received: from [209.85.128.191] (HELO fk-out-0910.google.com) (209.85.128.191) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Oct 2007 00:35:33 +0000 Received: by fk-out-0910.google.com with SMTP id 18so4049774fks for ; Mon, 01 Oct 2007 17:35:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=kB/u3qbysFkNvu4ebuPxmNTEh2zI/DCgCqWjfLaqODs=; b=b52HsBtUdcKaoyinAj1viTj7+X8Nrm/n61wy1ITYGb+APGK6VEPPNzxyuEVenbxixPiTafHZCFKRn9YbcK1unQZZEv0feMGGEMKcgfGGHgmiE8AK9OT7rj6YWYWZ400b6wI5wqdwv0nNCqOG5JcVgo8Am+VHMHi3p/y8U1RxwfI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=ulPU5+ssQpA3FuPV8hzXK54k9GjHTNwYDYPZ+Z0bxzRhpmxSIe2ZJW9moAI7WFHpINzWPvkJymVkioPQFrVSLO4Yi0bKeRIhHa1IQk7qiKGI1iZMbCCZYNfMY3pjy9Shs/KhZOwkPwStikpXhGA9HXDqImCQAE0Aak3Vkq5oKM4= Received: by 10.82.119.17 with SMTP id r17mr17013994buc.1191285310920; Mon, 01 Oct 2007 17:35:10 -0700 (PDT) Received: by 10.82.159.8 with HTTP; Mon, 1 Oct 2007 17:35:10 -0700 (PDT) Message-ID: <5ea470920710011735h74f7f317t5cf8e171806307c2@mail.gmail.com> Date: Mon, 1 Oct 2007 17:35:10 -0700 From: "Michael Giroux" To: "Ant Users List" Subject: Re: SSH Authentication Errors In-Reply-To: <5ea470920709301023s5078c950tc8bbb3981322af62@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <5ea470920709281707r59243d3eh21e60ea2ec3d5ab8@mail.gmail.com> <9832c98e0709290119k402ca13co19ca4eb5a333cab8@mail.gmail.com> <5ea470920709301023s5078c950tc8bbb3981322af62@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org Thought you might like to know -- the problem turns out to be user error. I was watching the developer use the script, and I assumed that when he entered the password for the target useid, that he had configured the script to use the userid associated w/ the password. As it turns out, he was taking the default which in this script is ${user.name} for which he does not have an account on the remote system. After he configured the correct userid for the ssh commands all worked well. One more thing I'll have to add to the documentation for this script. Michael On 9/30/07, Michael Giroux wrote: > I personally do not use passphrase, but I'm not sure what the other > developer is using on his system (the one having problems). I'll > check on Monday. > > Thanks > > Michael > > On 9/29/07, Vihan Pandey wrote: > > > I'm using and tasks in a build script. These work > > > well from my own PC, but when someone tries to run the script from a > > > different computer, the script fails with an authentication error. > > > > > > I have been using and for so long, I no longer > > > remember what I did to resolve this issue when I had it. > > > > > > We built the Shell.java example app that is distributed with JSch.jar. > > > We were able to use Shell to connect to the target system, so it > > > seems we have some ability to connect, but the ANT scripts continue to > > > fail. > > > > Do you authenticate through password or keys alone or keys + passphrase? > > > > Regards, > > > > - vihan > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org > > For additional commands, e-mail: user-help@ant.apache.org > > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org