Lines Matching refs:askpass
51 ssh_askpass(char *askpass, const char *msg, const char *env_hint) in ssh_askpass() argument
62 if (askpass == NULL) in ssh_askpass()
80 execlp(askpass, askpass, msg, (char *)NULL); in ssh_askpass()
81 fatal("%s: exec(%s): %s", __func__, askpass, strerror(errno)); in ssh_askpass()
125 char cr = '\r', *askpass = NULL, *ret, buf[1024]; in read_passphrase() local
161 askpass = getenv(SSH_ASKPASS_ENV); in read_passphrase()
163 askpass = _PATH_SSH_ASKPASS_DEFAULT; in read_passphrase()
166 if ((ret = ssh_askpass(askpass, prompt, askpass_hint)) == NULL) in read_passphrase()
223 const char *askpass; in notify_start() local
239 if ((askpass = getenv("SSH_ASKPASS")) == NULL) in notify_start()
240 askpass = _PATH_SSH_ASKPASS_DEFAULT; in notify_start()
241 if (getenv("DISPLAY") == NULL || *askpass == '\0') { in notify_start()
261 execlp(askpass, askpass, prompt, (char *)NULL); in notify_start()
262 error("%s: exec(%s): %s", __func__, askpass, strerror(errno)); in notify_start()