[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#591270: apt: not accepting sources using SSH keys without a passphrase



Package: apt
Version: 0.7.25.3
Severity: normal

When using an ssh:// apt source, apt-get behaviour is a little awkward -
the prompt for the passphrase gets hidden in the apt output but does work,
except if the particular SSH key does not actually use a passphrase.

apt halts, asking for the passphrase and refuses to accept 'Enter',
printing a "Permission denied: please try again" error.

apt appears to be only accepting the real login password when the SSH
key passphrase is empty. (i.e. with an empty passphrase, apt falls
back to the configured login) - this will fail if the remote server
is configured to allow only SSH login.

-- Package-specific info:

-- (no /etc/apt/preferences present) --


-- /etc/apt/sources.list --

(The specific SSH apt source used is not public.)

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.30-1-686 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages apt depends on:
ii  debian-archive-keyring     2009.01.31 GnuPG archive keys of the Debian a
ii  libc6                      2.11.2-2   Embedded GNU C Library: Shared lib
ii  libgcc1                    1:4.4.4-7  GCC support library
ii  libstdc++6                 4.4.4-7    The GNU Standard C++ Library v3

apt recommends no packages.

apt suggests no packages.

-- no debconf information



-- 


Neil Williams
=============
http://www.data-freedom.org/
http://www.nosoftwarepatents.com/
http://www.linux.codehelp.co.uk/

Attachment: pgpfjpREQEyk3.pgp
Description: PGP signature


Reply to: