Displaying 20 results from an estimated 3000 matches similar to: "2.2.0p1 PATCH: ssh/scp/slogin will invoke ssh-askpass"
1999 Dec 10
2
[David Huggins-Daines <dhd@plcom.on.ca>] Bug#52414: ssh-add uses ssh-askpass, but ssh doesn't
Damien,
Here's a forwarded bug for you.
Cheers, Phil.
--[[message/rfc822]]
Subject: Bug#52414: ssh-add uses ssh-askpass, but ssh doesn't
Reply-To: David Huggins-Daines <dhd at plcom.on.ca>, 52414 at bugs.debian.org
Resent-From: David Huggins-Daines <dhd at plcom.on.ca>
Resent-To: debian-bugs-dist at lists.debian.org
Resent-CC: Philip Hands <phil at hands.com>
2001 Aug 28
1
Compile-time warning in readpass.c
The patch below fixes a compile-time warning in readpass.c.
MIME-Version: 1.0
Content-Type: application/aegis-patch
Subject: openssh.2 - Fix warning in readpass.c
Content-Name: openssh.2.C010.patch
Content-Disposition: attachment; filename=openssh.2.C010.patch
X-Aegis-Project-Name: openssh.2
X-Aegis-Change-Number: 10
#
# Fix the following warning in readpass.c:
#
# readpass.c: In function
2004 Apr 12
1
Regarding SSH_ASKPASS
I've been giving SSH_ASKPASS a hard look, and it's not clear to
me how it's supposed to work. The documentation (ssh.1) seems
explicit enough:
SSH_ASKPASS
If ssh needs a passphrase, it will read the passphrase from the
current terminal if it was run from a terminal. If ssh does not
have a terminal associated with it but DISPLAY and SSH_ASKPASS
are set, it will execute
2004 Oct 03
3
[PATCH] PreferAskpass in ssh_config
Moin,
attached is a patch, which adds a new configuration option
"PreferAskpass" to the ssh config.
ssh{,-add,-keygen,-agent} will use ssh-askpass to prompt for passwords, if
this option is set to "yes", and if ssh-askpass is available.
Default for "PreferAskpass" is "no".
Pacth is against current CVS.
Sebastian
--
signature intentionally left blank.
2011 Jan 18
2
ssh-add with stdin and read_passphrase
I would like to use ssh-add to unlock a key with a password provided
through a web interface.
It seems even though ssh-add calls read_passphrase with RP_ALLOW_STDIN
at ssh-add.c:173, stdin is not used as a last resort without a valid
terminal or display. Is it an intended behaviour ? And if so, what are
the security implications of using popen() to write the password to
ssh-add (not using echo
2023 May 12
0
[Bug 3571] New: Canceling SSH_ASKPASS actually sends an empty string
https://bugzilla.mindrot.org/show_bug.cgi?id=3571
Bug ID: 3571
Summary: Canceling SSH_ASKPASS actually sends an empty string
Product: Portable OpenSSH
Version: 8.8p1
Hardware: Other
OS: Linux
Status: NEW
Severity: major
Priority: P5
Component: ssh
Assignee: unassigned-bugs at
2002 Apr 22
9
Password from open filedescriptor
The included patch adds a new option to the ssh client:
-d fd Read the password from file descriptor fd. If you use 0 for fd,
the passphrase will be read from stdin.
This is basically the same as GPG:s parameter --passphrase-fd.
Flames about why this is a bad idea goes into /dev/null. I really need to
do this. There are lots of ugly Expect-hacks out there, but I want a more
clean
2004 Jan 06
1
Keychain Patch Try II
Sorry; here's the message I sent with the Keychain Patch yesterday. I
didn't realize that the list wouldn't extract the text parts of the
message. Enjoy.
Hey all,
Here's the patch to let SSH store passwords in the Mac OS X Keychain.
I don't know whether you guys want to include it or not with the
distribution; some people have said that since Keychain is not an open
2001 Oct 24
0
readpass.c patch
To make readpass.c work on first try with gnome-askpass on RHL 7.1:
wget http://bass.directhit.com/openssh_snap/openssh-SNAP-20011023.tar.gz
tar xfz openssh-SNAP-20011023.tar.gz
cd openssh
./configure --with-pam --enable-gnome-askpass --with-tcp-wrappers
mv readpass.c readpass.c1
new readpass.c according to patch I received from djm 5-13-01:
--------------------- cut here
2003 Mar 15
1
Force reading with SSH_ASKPASS?
Hi,
I'm looking at integrating sftp into a larger project. It would be nice if
there was a way to force read_passphrase() (in readpass.c) to use SSH_ASKPASS
regardless of the properties of the terminal.
This would be easy enough to do, an environment variable or a new flag
definition would achieve this (I'm using an environment variable for
convenience at the moment). Would anyone
2000 Apr 14
2
More Slack7 heartbreak.
All line number are approximate, but most likely w/in 10 lines of the
OpenSSH 1.2.3 tarball.
I unpacked the tarball, and did a ./configure;make;make install
and now I've had some problems. :-)
OK, I've tracked down lots of goofy stuff w/ slack7 and OpenSSH
I've got a couple of questions.
What is /dev/tty and why does ssh try to open it to read the password
instead of stdin?(this cause
2001 Apr 20
1
[patch] one warning, one omission, and two requests; portable CVS
Requests first: after a build, "make" always remakes all the .out files;
maybe we could add a few dependencies there? And could we possibly have a
few more '@if' lines in the Makefile to quiet it down?
These should be obvious:
--- #readpass.c Fri Apr 20 13:17:39 2001
+++ readpass.c Fri Apr 20 13:37:26 2001
@@ -43,7 +43,7 @@
#include "ssh.h"
char *
2001 Oct 09
0
Small patch for ssh_askpass()
Hi,
There is small bug in ssh_askpass().
Fix like this.
Additionally removing '\r' is for Win32 environment.
--- readpass.c 2001/10/09 05:42:49 1.1.1.1
+++ readpass.c 2001/10/09 08:06:38
@@ -45,7 +45,7 @@
{
pid_t pid;
size_t len;
- char *nl, *pass;
+ char *pass;
int p[2], status;
char buf[1024];
@@ -71,16 +71,15 @@
fatal("ssh_askpass: exec(%s): %s", askpass,
2005 Jan 04
1
trying to debug ssh-askpass problem
Hi all,
I have a script which calls ssh-add at a certain point, and I'm
getting the following error:
ssh_askpass: exec(/usr/bin/ssh-askpass): No such file or directory
I don't see why it's doing this, since SSH_ASKPASS isn't set, and
there should be a working terminal:
SSH_ASKPASS
If ssh needs a passphrase, it will read the passphrase from the
2001 Jun 27
0
two GCC-3.0 warnings
In openssh_cvs/openbsd-compat:
readpassphrase.c: In function `readpassphrase':
readpassphrase.c:116: warning: operation on `ch' may be undefined
The offending line is:
ch = ch &= 0x7f;
probably should be:
ch &= 0x7f;
In openssh-2.9p2:
readpass.c: In function `read_passphrase':
readpass.c:120: warning: passing
1999 Nov 25
0
suse/kde and the new ssh-add/ssh-askpass
Howdy,
It seems that as of 1.2pre15, ssh-add no longer looks for
ssh-askpass in the usual place. (I noticed this both in the source
code, ssh-add.c, and to some degree in the ChangeLog.)
If you're like me and keep ssh-add in your Autostart folder in KDE,
chances are upgrading to 1.2pre15 will result in no longer getting
the nice Gnome widget we've come to know and love when
2001 May 10
2
2.9p1 ssh-add/ssh-askpass first try fails
OpenSSH Version 2.9p1 of "ssh-add $HOME/.ssh/id_rsa < /dev/null"
fails on the first try of using ssh-askpass before the window manager
starts. The second try works. The error message on the first try is
"Bad passphrase, try again".
This did not occur using OpenSSH-2.5.2p2.tar.gz. I've tested this
on both RHL6.2 and RHL7.1, both with all RH rpm updates applied.
I
2008 Aug 20
1
using ssh-add unattended on dubious files -- how can i avoid a hang?
I need ssh-add to fail cleanly if it tries and fails to read a key,
rather than prompting the user. I can't seem to figure out how to do
that.
This is on a Linux 2.6.26 system, running OpenSSH 5.1p1 (as built on
debian lenny/sid)
First, the things i've tried:
* i've unset the DISPLAY and SSH_ASKPASS environment variables, so no
X11-style prompting should happen.
* i've
2003 Jul 22
1
ssh-askpass keyboard grab problems
We're developing a security application (http://iscs.sourceforge.net)
that uses SSH for out-of-band management. Sometimes we want to use rsa
keys and other times we want to use user ids and passwords. We noticed
that there was not an OpenSSH API that we could use to pass the user's
password and that we could not give it via stdin. We did notice that we
could set SSH_ASKPASS and launch
2002 Jul 19
0
Prob: openssh askpass DISPLAY Permission denied
Hallo!
I did upgrade openssh to version OpenSSH_3.4p1.
But now I cant enter my password.
It seems to be because of the combination of askpass and DISPLAY-variable.
?? Which I must do to around the same functionality as with
the version 2.9 (without X11-ssh-askpass) ??
regards heiko
---------------------------
- Test without ssh-askpass
lukas # ~ $ echo $DISPLAY
ksh: DISPLAY: unbound