X-Spam-Check-By: sourceware.org
Message-ID: <43B4B2F1.8010207@cygwin.com>
Date: Thu, 29 Dec 2005 23:09:21 -0500
From: "Larry Hall (Cygwin)" <reply-to-list-only-lh@cygwin.com>
Reply-To: cygwin@cygwin.com
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20050929 Thunderbird/1.0.7 Fedora/1.0.7-1.1.fc4 Mnenhy/0.7.3.0
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: scp/ssh: non-interactive commands using "PasswordAuthentication"  fail
References: <200512231711.jBNHBvBl016124@tigris.pounder.sol.net> <200512290508.jBT58aZn029596@tigris.pounder.sol.net>
In-Reply-To: <200512290508.jBT58aZn029596@tigris.pounder.sol.net>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

Tom Rodman wrote:
> <2 informal tests on my home PC, /etc/ssh_config is "OTTB">
> 
> no problem, using PubkeyAuthentication:
> 
>   $ uname -a #login shell is bash, started by 'sshing in'
>   CYGWIN_NT-5.0 argon 1.5.19s(0.149/4/2) 20051227 16:45:51 i686 unknown unknown Cygwin
>   $ ssh localhost date
>   Wed Dec 28 21:03:43 CST 2005
>   $ scp adm_tsr@localhost:/etc/passwd /tmp/toss
>   passwd                                                            100%  704     0.7KB/s   00:00
>   $
> 
> problems w/same tests using PasswordAuthentication:
> 
>   $ eval $(ssh-agent -k) #same bash session continuing
>   Agent pid 304 killed
>   $ uname -a
>   CYGWIN_NT-5.0 argon 1.5.19s(0.149/4/2) 20051227 16:45:51 i686 unknown unknown Cygwin
>   $ ssh localhost date
>   Enter passphrase for key '/home/adm_tsr/.ssh/id_rsa':
>   adm_tsr@localhost's password:
>   $ : skipped passphrase prompt, entered password; no date shows up
>   $ scp adm_tsr@localhost:/etc/passwd /tmp/toss
>   Enter passphrase for key '/home/adm_tsr/.ssh/id_rsa':
>   adm_tsr@localhost's password:
>   $ : skipped passphrase prompt, notice nothing echoed after password was entered
> 
> comments?  can anyone else duplicate this?

Confirmed.  cygwin1-20051216.dll is the last snapshot that worked properly
for this.  Sorry, that's all the input I have for the moment.

-- 
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
838 Washington Street                   (508) 893-9889 - FAX
Holliston, MA 01746

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

