Displaying 20 results from an estimated 136 matches for "ssh_askpass".
2008 Aug 29
7
[Bug 69] Generalize SSH_ASKPASS
https://bugzilla.mindrot.org/show_bug.cgi?id=69
Damien Miller <djm at mindrot.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |djm at mindrot.org
Alias| |generalised-askpass
--
Configure bugmail:
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 associ...
2000 Sep 09
0
2.2.0p1 PATCH: ssh/scp/slogin will invoke ssh-askpass
...x (i386), for passwords and RSA/DSA key
passphrases. I cannot easily test whether the Right Thing will happen
for skey challenge responses; I would appreciate it if someone who
uses skey would apply this patch and see if it works properly.
In the process of making this patch, I fixed a bug in the
ssh_askpass() function (it assumed the string read from the pipe to
ssh-askpass would always contain a trailing newline, which is a false
assumption).
Also, the ssh2_try_passwd() function appears to be broken, in that it
contains partial logic to prompt for the correct password multiple
times, but the flow of...
2007 Jan 18
2
SSH_ASKPASS behavior change proposal
...e at openssh.com indicated the general discussion
list is for support, I thought this list would be a better place to
discuss this. Please forgive me if I've committed a faux pas.
I propose that the ssh command-line client be changed so that it will
use whatever program is specified in the SSH_ASKPASS environment
variable regardless of whether ssh has a terminal associated with it or
not. In order for this to work, SSH_ASKPASS would need to contain the
full path to a program that prompts for a password, DISPLAY would also
need to be set, and some additional environment variable would need t...
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
current terminal if...
2009 Dec 23
3
Question on SSH_ASKPASS
Hi everybody,
I have asked a question a long time ago regarding SSH_ASKPASS, but with the
latest version of OpenSSH I am not able to get the desired result.
My goal is to launch a script on a remote server via SSH without having to
type a password, because it is locally executed from a script. This should
not be too complicated, but somehow I am not able to figure this ou...
2002 Jan 16
0
[Bug 69] New: Generalize SSH_ASKPASS
http://bugzilla.mindrot.org/show_bug.cgi?id=69
Summary: Generalize SSH_ASKPASS
Product: Portable OpenSSH
Version: -current
Platform: All
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P2
Component: ssh
AssignedTo: openssh-unix-dev at mindrot.org
ReportedBy: bbum at co...
1999 Dec 10
2
[David Huggins-Daines <dhd@plcom.on.ca>] Bug#52414: ssh-add uses ssh-askpass, but ssh doesn't
...dpass.c Wed Nov 24 19:54:59 1999
+++ openssh-1.2pre16.patched/readpass.c Thu Dec 9 22:34:23 1999
@@ -38,6 +38,47 @@
kill(getpid(), sig);
}
+/* Calls the external program specified to read a passphrase (usually
+ used to invoke ssh-askpass when running with $DISPLAY but no TTY) */
+
+char *
+ssh_askpass(const char *askpass, const char *msg)
+{
+ pid_t pid;
+ size_t len;
+ char *nl, *pass;
+ int p[2], status;
+ char buf[1024];
+
+ if (askpass == NULL)
+ fatal("internal error: askpass undefined");
+ if (pipe(p) < 0)
+ fatal("ssh_askpass: pipe: %s", strerror(errno));
+ if ((p...
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 mindrot.org...
2023 Dec 16
0
[Bug 3644] New: Pass the number of attempt to SSH_ASKPASS
https://bugzilla.mindrot.org/show_bug.cgi?id=3644
Bug ID: 3644
Summary: Pass the number of attempt to SSH_ASKPASS
Product: Portable OpenSSH
Version: 9.4p1
Hardware: All
OS: Linux
Status: NEW
Severity: enhancement
Priority: P5
Component: ssh
Assignee: unassigned-bugs at mindrot.org
Reporter: flafyarazi a...
2004 Oct 04
1
[Bug 69] Generalize SSH_ASKPASS
http://bugzilla.mindrot.org/show_bug.cgi?id=69
------- Additional Comments From yath at yath.eu.org 2004-10-05 00:57 -------
Created an attachment (id=722)
--> (http://bugzilla.mindrot.org/attachment.cgi?id=722&action=view)
Patch to make use of SSH_ASKPASS more configurable
$SSH_USE_ASKPASS may be set to "never", "always" or "preferred", to choose
whether passwords should be always read from tty, always via SSH_ASKPASS or via
SSH_ASKPASS, if available ($DISPLAY) is set.
------- You are receiving this mail because: --...
2008 Sep 02
2
Queries on ssh_askpass
...etting the following error.
15:46:04.221 Shell command: ssh abc at kaveri
15:46:04.224 ::com.evolving.adg.util::Shell (::NEComms::shell4)|spawned "
abc at kaveri" (3243)
15:46:04.224 Exiting ::NEComms::executeShell
15:46:04.225 exiting SS8VM::connect
15:46:04.292 err channel|RCVD| *"ssh_askpass:
exec(/usr/libexec/openssh/gnome-ssh-askpass): No such file or directory*
15:46:04.292 err channel|RCVD| "Write failed: Broken pipe
By any chance, anybody has encountered a similar issue ? are there any
answers/solutions for this problem ?
--
Thanks and Regards,
Lakshman
2023 Apr 14
0
[Bug 3562] New: make SSH_ASKPASS and SSH_ASKPASS_REQUIRE available as config options
https://bugzilla.mindrot.org/show_bug.cgi?id=3562
Bug ID: 3562
Summary: make SSH_ASKPASS and SSH_ASKPASS_REQUIRE available as
config options
Product: Portable OpenSSH
Version: 9.3p1
Hardware: Other
OS: All
Status: NEW
Severity: enhancement
Priority: P5
Component: ssh
A...
2003 Oct 08
1
[Bug 734] Misleading error message when host key verification is impossible / SSH_ASKPASS impossible.
http://bugzilla.mindrot.org/show_bug.cgi?id=734
Summary: Misleading error message when host key verification is
impossible / SSH_ASKPASS impossible.
Product: Portable OpenSSH
Version: 3.6.1p2
Platform: All
OS/Version: Linux
Status: NEW
Severity: trivial
Priority: P5
Component: ssh
AssignedTo: openssh-bugs at mindrot.org
ReportedBy: jim a...
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 @@...
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 be interested in receiving a patch
for this? If so, which appo...
2007 Jul 25
1
openssh ssh_askpass problem / question
Dear list,
I have set up SSH with the SSH_ASKPASS and DISPLAY variable set.
Everything works perfectly. When ssh is used without a tty, the askpass
program is executed, providing the password.
But when I change the location of the askpass program, so it contains a
space in the absolute path name (for example "c:\My Documents\askpass")...
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
2001 Aug 28
1
Compile-time warning in readpass.c
...ntent-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 `read_passphrase':
# readpass.c:120: warning: passing arg 2 of `ssh_askpass' discards
# qualifiers from pointer target type
#
Index: openssh/readpass.c
--- /usr/local/aegis/public/openssh/baseline/openssh/readpass.c Mon Aug 27 19:15:44 2001
+++ /usr/local/aegis/public/openssh/branch.2/baseline/openssh/readpass.c Tue Aug 28 11:03:52 2001
@@ -43,7 +43,7 @@
#include &qu...
2003 Mar 26
4
[Bug 69] Generalize SSH_ASKPASS
...l. Most applications have some
good mechanism for doing this (vncviewer, rdesktop, smbclient, etc); it's just
crazy that OpenSSH doesn't.
Personally, I prefer a new option instead of SSH_ALWAYS_ASKPASS, but that is no
big issue.
I also think that the host key confirmation should not use SSH_ASKPASS, but
another variable (for example, SSH_KEY_CONFIRM). The current GUI which requires
the user to type "yes" is very un-intuitive. People just don't understand it.
The GUI should have a "Yes/No" button dialog instead, just like Putty have.
------- You are receiving this...