delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/12/29/00:09:06

X-Spam-Check-By: sourceware.org
Message-Id: <200512290508.jBT58aZn029596@tigris.pounder.sol.net>
From: cygwin AT trodman DOT com (Tom Rodman)
Reply-to: cygwin AT cygwin DOT com
To: cygwin AT cygwin DOT com
Subject: scp/ssh: non-interactive commands using "PasswordAuthentication" fail
In-reply-to: <200512231711.jBNHBvBl016124@tigris.pounder.sol.net>
References: <200512231711 DOT jBNHBvBl016124 AT tigris DOT pounder DOT sol DOT net>
Date: Wed, 28 Dec 2005 23:08:35 -0600
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

<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 AT 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 AT localhost's password:
  $ : skipped passphrase prompt, entered password; no date shows up
  $ scp adm_tsr AT localhost:/etc/passwd /tmp/toss
  Enter passphrase for key '/home/adm_tsr/.ssh/id_rsa':
  adm_tsr AT localhost's password:
  $ : skipped passphrase prompt, notice nothing echoed after password was entered

comments?  can anyone else duplicate this?

--
thanks,
Tom

--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019