Re: How to get "Enter passphrase" on command line rather than GUI pop-up?

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

 



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-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.

yeah, some desktop enviornments implicitly start an agent. Often this
isn't actually ssh-agent, but something else that speaks the agent
protocol. Either way, they are a pain to configure because the
configuration is usually hidden from the user and often difficult to
disable.

Generally I find it easier to override them.

-d
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@xxxxxxxxxxx
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev



[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux