Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 26344 - openssh 2.3.0p1 may ask for DSA password in batch mode
openssh 2.3.0p1 may ask for DSA password in batch mode
Product: Red Hat Linux
Classification: Retired
Component: openssh (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Nalin Dahyabhai
Depends On:
  Show dependency treegraph
Reported: 2001-02-06 14:00 EST by Jay Berkenbilt
Modified: 2008-05-01 11:37 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2001-02-24 01:20:06 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
patch mentioned in bug report (650 bytes, patch)
2001-02-06 14:01 EST, Jay Berkenbilt
no flags Details | Diff

  None (edit)
Description Jay Berkenbilt 2001-02-06 14:00:01 EST
With no agent running

ssh host -o "Protocol 1" -o "BatchMode yes"

will fail without prompting for a password, as it should.  However

ssh host -o "Protocol 2" -o "BatchMode yes"

will prompt for a password.  The following patch, relative to the
BUILD/openssh-2.3.0p1 directory after rpm -bp SPECS/openssh.spec (on
the Fisher src.rpm) has been run, fixes the problem.  This change was
made by shamelessly copying code from sshconnect1.c into
sshconnect2.c, though there certainly seems to be good precedent for
doing that. :-)

I have also reported this to openssh@openssh.com (with a patch
relative to the clean sources, offset from this by 14 lines).

I am attaching the patch to this bug report as a file.
Comment 1 Jay Berkenbilt 2001-02-06 14:01:04 EST
Created attachment 9159 [details]
patch mentioned in bug report
Comment 2 Jay Berkenbilt 2001-02-22 09:36:27 EST
FWIW, openssh 2.5.1p1 fixes this problem and also implements -R and agent
forwarding for ssh2 as well as sftp.  Maybe it's a pipe dream that this could be
included in 7.1 but it sure would be nice. :-)
Comment 3 Jay Berkenbilt 2001-02-24 01:20:02 EST
This bug and others are fixed in the recently released openssh 2.5.1p1.
Comment 4 Pekka Savola 2001-02-24 03:12:01 EST
2.5.1p1 is (will be) in rawhide.

Note You need to log in before you can comment on or make changes to this bug.