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

Bug#429645: ssh-add: man page is not clear about passphrase querying



Package: openssh-client
Version: 1:4.3p2-11
Severity: normal

SSH_ASKPASS is unset and I get:

vin:~> ssh-add
Enter passphrase for /home/vlefevre/.ssh/id_rsa: 

vin:~> ssh-add < /dev/null
-> A graphical dialog appears, but the ssh-add(1) man page doesn't
document this feature (I recall that SSH_ASKPASS is unset).

vin:~> unset DISPLAY
vin:~> ssh-add < /dev/null
Enter passphrase for /home/vlefevre/.ssh/id_rsa: 

This is inconsistent with the first two cases. The man page doesn't
say when the terminal has the precedence over the graphical program.

Note that ssh behaves differently:

vin:~> /usr/bin/ssh ble < /dev/null
Pseudo-terminal will not be allocated because stdin is not a terminal.
Enter passphrase for key '/home/vlefevre/.ssh/id_rsa': 

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.18-4-686-bigmem (SMP w/2 CPU cores)
Locale: LANG=POSIX, LC_CTYPE=en_US.ISO8859-1 (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash

Versions of packages openssh-client depends on:
ii  adduser  3.102                           Add and remove users and groups
ii  debconf  1.5.13                          Debian configuration management sy
ii  dpkg     1.14.4                          package maintenance system for Deb
ii  libc6    2.5-11                          GNU C Library: Shared libraries
ii  libcomer 1.39+1.40-WIP-2007.04.07+dfsg-2 common error description library
ii  libedit2 2.9.cvs.20050518-3              BSD editline and history libraries
ii  libkrb53 1.6.dfsg.1-4                    MIT Kerberos runtime libraries
ii  libncurs 5.6-3                           Shared libraries for terminal hand
ii  libssl0. 0.9.8e-5                        SSL shared libraries
ii  passwd   1:4.0.18.1-9                    change and administer password and
ii  zlib1g   1:1.2.3-15                      compression library - runtime

openssh-client recommends no packages.

-- no debconf information



Reply to: