Displaying 18 results from an estimated 18 matches for "ssh_askpass_require".
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
Assignee: unassigned-bugs...
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...
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 calling ssh-as...
2024 Jan 01
1
How to get "Enter passphrase" on command line rather than GUI pop-up?
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 calling ssh-askpass?
Setting SSH_ASKPASS_REQUIRE...
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
> > > SSH_AUTH_SOCK=/run/user/1000/keyring/ssh
> > > SSH_ASKPASS_REQUIRE=never
> >
> > What c...
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 th...
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:-
>>
>> chris$ env | grep SSH
>> SSH_AUTH_SOCK=/run/user/1000/keyring/ssh
>> SSH_ASKPASS_REQUIRE=never
>> chris$
>>
>> But I still get the a...
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.
2024 Jan 02
1
How to get "Enter passphrase" on command line rather than GUI pop-up?
...$ 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 password:
chris$ env | grep SSH
SSH_AUTH_SOCK=/run/user/1000/keyring/ssh
SSH_ASKPASS_REQUIRE=never
chris$ unset SSH_AUTH_SOCK
chris$ ssh -i backup_id_rsa backup
Enter passphrase for key 'backup_id_rsa':
chris at backup$
So the SSH_ASKPASS etc. are irrelevant for my set-up. I thought I'd
tried unsetting SSH_AUTH_SOCK before but obviously I hadn't, I guess...
2024 Jan 03
1
How to get "Enter passphrase" on command line rather than GUI pop-up?
...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 password:
>
> chris$ env | grep SSH
> SSH_AUTH_SOCK=/run/user/1000/keyring/ssh
> SSH_ASKPASS_REQUIRE=never
> chris$ unset SSH_AUTH_SOCK
> chris$ ssh -i backup_id_rsa backup
> Enter passphrase for key 'backup_id_rsa':
> chris at backup$
>
> So the SSH_ASKPASS etc. are irrelevant for my set-up. I thought I'd
> tried unsetting SSH_AUTH_SOCK before...
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 i...
2020 Jul 14
0
[Bug 69] Generalize SSH_ASKPASS
...-------------------------------------
Resolution|--- |FIXED
Status|NEW |RESOLVED
Blocks| |3162
--- Comment #19 from Damien Miller <djm at mindrot.org> ---
OpenSSH 8.4 will include a $SSH_ASKPASS_REQUIRE variable that accepts
force|prefer|never options.
Referenced Bugs:
https://bugzilla.mindrot.org/show_bug.cgi?id=3162
[Bug 3162] Tracking bug for 8.4 release
--
You are receiving this mail because:
You are the assignee for the bug.
You are watching someone on the CC list of the bug.
2023 May 12
0
[Bug 3571] New: Canceling SSH_ASKPASS actually sends an empty string
...Severity: major
Priority: P5
Component: ssh
Assignee: unassigned-bugs at mindrot.org
Reporter: phil.brown.2k+mindrot at gmail.com
I'm using Fedora 36 and the official OpenSSH 8.8p1 install available to
it. I am forcing use of SSH_ASKPASS via "export
SSH_ASKPASS_REQUIRE=force" and using the Gnome askpass program ("export
SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass").
I then attempt to log in to a remote machine that requires normal
password authentication and the Gnome askpass dialog appears. In this
dialog, clicking "Cancel" or cl...
2023 Dec 16
0
[Bug 3644] New: Pass the number of attempt to SSH_ASKPASS
...a passphrase directly.
If the script doesn't find a passphrase through the command, it should
prompt me to input a passphrase.
Additionally, if the script got a passphrase from the command but the
passphrase was not correct, it should prompt me to input a passphrase
as well.
I've set
```
SSH_ASKPASS_REQUIRE=prefer
SSH_ASKPASS=<path to the following bash script>
```
bash script:
```
#!/usr/bin/env bash
key_name=$(echo "$1" | sed -n "s/.*\/\([^\/]*\)'.*/\1/p")
pass=$(get-passphrase-command "$key_name")
if [ $? -eq 0 ]; then
echo "$pass"
else
echo...
2019 Nov 01
2
[Bug 3086] New: Ssh, scp (6.2p2 or 7.4p1) can't support the way to enter the private key password in a non-interactive way.
https://bugzilla.mindrot.org/show_bug.cgi?id=3086
Bug ID: 3086
Summary: Ssh, scp (6.2p2 or 7.4p1) can't support the way to
enter the private key password in a non-interactive
way.
Product: Portable OpenSSH
Version: 7.4p1
Hardware: ix86
OS: Linux
Status: NEW
2020 Oct 30
3
[Bug 3226] New: Feature request: Prempt fingerprint prompt when connecting to new server
https://bugzilla.mindrot.org/show_bug.cgi?id=3226
Bug ID: 3226
Summary: Feature request: Prempt fingerprint prompt when
connecting to new server
Product: Portable OpenSSH
Version: 8.4p1
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P5
Component:
2020 Sep 27
0
Announce: OpenSSH 8.4 released
...environment variables. The supported keywords are CertificateFile,
ControlPath, IdentityAgent and IdentityFile, plus LocalForward and
RemoteForward when used for Unix domain socket paths. bz#3140
* ssh(1), ssh-agent(1): allow some additional control over the use of
ssh-askpass via a new $SSH_ASKPASS_REQUIRE environment variable,
including forcibly enabling and disabling its use. bz#69
* ssh(1): allow ssh_config(5)'s AddKeysToAgent keyword accept a time
limit for keys in addition to its current flag options. Time-
limited keys will automatically be removed from ssh-agent after
their e...
2020 Sep 20
13
Call for testing: OpenSSH 8.4
...environment variables. The supported keywords are CertificateFile,
ControlPath, IdentityAgent and IdentityFile, plus LocalForward and
RemoteForward when used for Unix domain socket paths. bz#3140
* ssh(1), ssh-agent(1): allow some additional control over the use of
ssh-askpass via a new $SSH_ASKPASS_REQUIRE environment variable,
including forcibly enabling and disabling its use. bz#69
* ssh(1): allow ssh_config(5)'s AddKeysToAgent keyword accept a time
limit for keys in addition to its current flag options. Time-
limited keys will automatically be removed from ssh-agent after
their e...