Chris Green
2024-Jan-01 18:34 UTC
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? -- Chris Green
Chris Green
2024-Jan-01 18:37 UTC
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 being asked for > the passphrase in the terminal window. Is this a bug or am I doing > something wrong? >... and I running OpenSSH_9.3p1 Ubuntu-1ubuntu3.1, OpenSSL 3.0.10 1 Aug 2023 -- Chris Green
Christian Weisgerber
2024-Jan-01 20:39 UTC
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=neverWhat component is actually calling ssh-askpass? Setting SSH_ASKPASS_REQUIRE=never has no effect for me either, but that's because... Jan 1 21:26:12 lorvorc ssh-agent[76961]: error: Fssh_notify_start: exec(/usr/local/bin/ssh-askpass): No such file or directory ... ssh-askpass is called by a previously started ssh-agent that doesn't know about the new environment variable. The fact that you have SSH_AUTH_SOCK set suggests that authentication requests are also forwarded to an agent in your setup. -- Christian "naddy" Weisgerber naddy at mips.inka.de
Apparently Analagous Threads
- How to get "Enter passphrase" on command line rather than GUI pop-up?
- How to get "Enter passphrase" on command line rather than GUI pop-up?
- How to get "Enter passphrase" on command line rather than GUI pop-up?
- How to get "Enter passphrase" on command line rather than GUI pop-up?
- How to get "Enter passphrase" on command line rather than GUI pop-up?