Date: Fri, 21 Feb 1997 20:49:39 -0500 (EST) From: John Capo <jc@irbs.com> To: FreeBSD-gnats-submit@freebsd.org Subject: ports/2794: ssh fails to exec ssh-askpass Message-ID: <199702220149.UAA14988@irbs.irbs.com> Resent-Message-ID: <199702220150.RAA12024@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 2794 >Category: ports >Synopsis: ssh fails to exec ssh-askpass >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Feb 21 17:50:01 PST 1997 >Last-Modified: >Originator: John Capo >Organization: Not Right Now >Release: FreeBSD 2.2-RELEASE i386 >Environment: >Description: The password prompt scheme results in unbalanced single quotes when ssh tries to exec ssh-askpass: ssh-askpass 'username's password: ' >How-To-Repeat: `ssh machine1 ssh machine2 command' in some environments. >Fix: *** readpass.c.orig Fri Feb 21 20:33:24 1997 --- readpass.c Fri Feb 21 20:33:36 1997 *************** *** 92,98 **** "Executing ssh-askpass to query the password...\n"); fflush(stdout); fflush(stderr); ! sprintf(command, "ssh-askpass '%.400s'", prompt); uf = userfile_popen(uid, command, "r"); if (uf == NULL) { --- 92,98 ---- "Executing ssh-askpass to query the password...\n"); fflush(stdout); fflush(stderr); ! sprintf(command, "ssh-askpass \"%.400s\"", prompt); uf = userfile_popen(uid, command, "r"); if (uf == NULL) { >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199702220149.UAA14988>