[prev in list] [next in list] [prev in thread] [next in thread]
List: openssh-unix-dev
Subject: Re: SSH Command Line Password Support
From: Alan Barrett <apb () cequrux ! com>
Date: 2008-08-29 14:22:39
Message-ID: 20080829142239.GA13113 () apb-laptoy ! apb ! alt ! za
[Download RAW message or body]
On Thu, 28 Aug 2008, Jim Knoble wrote:
> : > [old SSH_ASKPASS proposals:]
> : > > http://marc.info/?l=openssh-unix-dev&m=116921620227593&w=2
> : > > https://bugzilla.mindrot.org/show_bug.cgi?id=69
>
> I believe the best way to handle this is with an ssh_config file option
> (which can then also be used on the command line). ssh-add(1) and
> ssh-agent(1) also use SSH_ASKPASS and should use a command-line option,
> since they don't read ssh_config files.
Having to use command line options for ssh-add and ssh-agent may be
inconvenient in some environments.
It occurs to me that the policy on when to use SSH_ASKPASS
could also be embedded in the variable itself, like this:
SSH_ASKPASS="/path/to/script" # like today
SSH_ASKPASS="always:/path/to/script" # use it regardless of DISPLAY or tty
--apb (Alan Barrett)
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@mindrot.org
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic