Displaying 20 results from an estimated 5000 matches similar to: "[Bug 3644] New: Pass the number of attempt to SSH_ASKPASS"
2020 Oct 06
2
Accessing SSH key path using SSH_ASKPASS and passwordstore
Hello,
With the introduction of SSH_ASKPASS_REQUIRE in version 8.4, I've set
up a script for SSH_ASKPASS to query my local passwordstore
(https://www.passwordstore.org/) vault to retrieve the password for a
given key. This works for ssh-add as well as ssh (configured with
AddKeysToAgent set to 'yes'). My workflow effectively transforms into
entering the password for the GPG key used
2024 Jan 02
2
How to get "Enter passphrase" on command line rather than GUI pop-up?
On Tue, Jan 02, 2024 at 03:52:29PM +1100, Damien Miller wrote:
> On Mon, 1 Jan 2024, Christian Weisgerber wrote:
> 
> > Chris Green:
> > 
> > > Setting SSH_ASKPASS_REQUIRE=never in the environment on my xubuntu
> > > 23.10 system doesn't seem to work.  I have set it:-
> > > 
> > >     chris$ env | grep SSH
> > >    
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
2024 Jan 02
1
How to get "Enter passphrase" on command line rather than GUI pop-up?
> 
> There must be *something* in the environment that affects this because
> I'm seeing two different ways of asking for the passphrase on the same
> screen.  The only difference is that one is a simple terminal window
> running on my system and the other is one where I have used ssh to
> connect to a remote system and then ssh again back to the 'home'
> system. 
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
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
2024 Jan 03
1
How to get "Enter passphrase" on command line rather than GUI pop-up?
On 2024/01/02 09:51, Chris Green wrote:
> I think I have it! I need to unset SSH_AUTH_SOCK, that's all that's
> needed.  See:-
> 
>     chris$ ssh -i backup_id_rsa backup
> [here the pop-up appears and I cancel it]
>     sign_and_send_pubkey: signing failed for RSA "backup_id_rsa" from
>     agent: agent refused operation
>     chris at backup's
2000 Sep 09
0
2.2.0p1 PATCH: ssh/scp/slogin will invoke ssh-askpass
Enclosed is a patch against 2.2.0p1 that teaches ssh (and therefore
slogin and scp) how to invoke ssh-askpass to request a password,
RSA/DSA key passphrase, or an skey challenge response.
I've tested this on Linux (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
2023 Dec 04
0
[Bug 1323] ssh-add: add an option to disable passphrase querying (batch mode)
https://bugzilla.mindrot.org/show_bug.cgi?id=1323
--- Comment #3 from Damien Miller <djm at mindrot.org> ---
This is possible now using SSH_ASKPASS_REQUIRE:
env SSH_ASKPASS_REQUIRE=force SSH_ASKPASS=/bin/false ssh-add ...
</dev/null
-- 
You are receiving this mail because:
You are watching someone on the CC list of the bug.
You are watching the assignee of the bug.
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>
2024 Jan 02
1
How to get "Enter passphrase" on command line rather than GUI pop-up?
On Mon, 1 Jan 2024, Christian Weisgerber wrote:
> Chris Green:
> 
> > Setting SSH_ASKPASS_REQUIRE=never in the environment on my xubuntu
> > 23.10 system doesn't seem to work.  I have set it:-
> > 
> >     chris$ env | grep SSH
> >     SSH_AUTH_SOCK=/run/user/1000/keyring/ssh
> >     SSH_ASKPASS_REQUIRE=never
> 
> What component is actually
2020 Jul 14
0
[Bug 69] Generalize SSH_ASKPASS
https://bugzilla.mindrot.org/show_bug.cgi?id=69
Damien Miller <djm at mindrot.org> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED
             Blocks|                            |3162
2008 Dec 02
12
[Bug 1542] New: Send echo on/off flag to SSH_ASKPASS
https://bugzilla.mindrot.org/show_bug.cgi?id=1542
           Summary: Send echo on/off flag to SSH_ASKPASS
           Product: Portable OpenSSH
           Version: -current
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: ssh
        AssignedTo: unassigned-bugs at mindrot.org
        ReportedBy: t8m at
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 out myself.
I have
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
             
2024 Jan 01
2
How to get "Enter passphrase" on command line rather than GUI pop-up?
Setting SSH_ASKPASS_REQUIRE=never in the environment on my xubuntu
23.10 system doesn't seem to work.  I have set it:-
    chris$ env | grep SSH
    SSH_AUTH_SOCK=/run/user/1000/keyring/ssh
    SSH_ASKPASS_REQUIRE=never
    chris$ 
But I still get the annoying GUI pop-up rather than being asked for
the passphrase in the terminal window.  Is this a bug or am I doing
something wrong?
-- 
2024 Jan 01
1
How to get "Enter passphrase" on command line rather than GUI pop-up?
There is a program call sshpass that does just that
On ubuntu/debian:
apt install sshpass
> On 01 Jan 2024, at 20:37, Chris Green <cl at isbd.net> wrote:
> 
> On Mon, Jan 01, 2024 at 06:34:01PM +0000, Chris Green wrote:
>> Setting SSH_ASKPASS_REQUIRE=never in the environment on my xubuntu
>> 23.10 system doesn't seem to work.  I have set it:-
>> 
>>   
2024 Jan 01
1
How to get "Enter passphrase" on command line rather than GUI pop-up?
On Mon, Jan 01, 2024 at 06:34:01PM +0000, Chris Green wrote:
> Setting SSH_ASKPASS_REQUIRE=never in the environment on my xubuntu
> 23.10 system doesn't seem to work.  I have set it:-
> 
>     chris$ env | grep SSH
>     SSH_AUTH_SOCK=/run/user/1000/keyring/ssh
>     SSH_ASKPASS_REQUIRE=never
>     chris$ 
> 
> But I still get the annoying GUI pop-up rather than
2001 Jan 18
2
ssh-add bug
There is an amusing bug in ssh-add that causes it to go into an
infinite loop.  I am using openssh 1.2.3, and noticed that when I
ran "ssh-add < /dev/null" in my X startup scripts, but didn't have
ssh-askpass installed, ssh-add started spewing errors into my
.xsession-errors and didn't stop.
I found that what happens is:  ssh-add forks and attempts to exec
ssh-askpass.  The
2017 Jul 06
3
[Bug 2739] New: ssh-add no longer works with xargs
https://bugzilla.mindrot.org/show_bug.cgi?id=2739
            Bug ID: 2739
           Summary: ssh-add no longer works with xargs
           Product: Portable OpenSSH
           Version: 7.4p1
          Hardware: amd64
                OS: Mac OS X
            Status: NEW
          Severity: minor
          Priority: P5
         Component: ssh-add
          Assignee: unassigned-bugs at mindrot.org