From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19273 invoked by alias); 16 Jan 2013 12:44:12 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 30979 Received: (qmail 27016 invoked from network); 16 Jan 2013 12:44:10 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_LOW,T_DKIM_INVALID autolearn=ham version=3.3.2 Received-SPF: none (ns1.primenet.com.au: domain at daniel.shahaf.name does not designate permitted sender hosts) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= daniel.shahaf.name; h=date:from:to:cc:subject:message-id :references:mime-version:content-type:in-reply-to; s=mesmtp; bh= 1JWZ2wG0h5wplA2s1j5cN9dER18=; b=vIjxf5ONbykP0L2QZ5u9b6FhWY6JQKqK NhPAQ0HIwiQ9B62phvvQwHDhNXR6J/ysrrivMMFsoEuIo2jNbsXasbIL/DN92MVx a/skhIBOFK5aY3zYJm68+Ccx11ZanBJUD2J7vM7BfNbtDazbGdHQCwOVo8fGvk7W U0KO1yukWEA= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=date:from:to:cc:subject:message-id :references:mime-version:content-type:in-reply-to; s=smtpout; bh=1JWZ2wG0h5wplA2s1j5cN9dER18=; b=VD1U4ZrSs5HP3cbEPMVXa2iq4Uik 1ewbBJ2Qs60EygQnY8A/k+9nTqAAs67qzTcLHScx7D7KHGGV2lanNJCMJppfTp+K aQIrVX8qxaZyzdT+BS/vBjvpdpZgDT5ARERQlpqeSN+UTiSap9kmX8HZYDdBglRm ZPlM6/X8tl4iOac= X-Sasl-enc: 2H7cWcSM6CLTSIyo/I5ecS/5O+ZhZKfbMZTbbYXvPnxu 1358340246 Date: Wed, 16 Jan 2013 14:44:01 +0200 From: Daniel Shahaf To: Christian Neukirchen Cc: zsh-workers@zsh.org Subject: Re: Backgrounding part of 'ssh-agent $cmd' Message-ID: <20130116124316.GA3852@lp-shahaf.local> References: <20130116065951.GA2992__1394.41746655411$1358320461$gmane$org@lp-shahaf.local> <87wqvdcrlx.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87wqvdcrlx.fsf@gmail.com> User-Agent: Mutt/1.5.18 (2008-05-17) Christian Neukirchen wrote on Wed, Jan 16, 2013 at 12:08:42 +0100: > Daniel Shahaf writes: > > > I'd like to remove the complication of an extra tab or explicit ^Z: > > I'd like the workflow to be > > > > Run foo_main > > Answer ssh-add password prompt > > # No interactive wait at this point. > > Answer the foo_internal password prompt > > (Use foo; the -MNf's will finish in a second or two.) > > FYI, if you use gpg-agent or gnome-keyring instead of ssh-agent, it will > ask for the password interactively/graphically when it's needed the > first time. I don't want to use a daemon that maintains state across hibernate.[1] Does ssh-agent/gpg-agent/gnome-keyring have a "discard passphrase before entering hibernate" feature? Thanks, Daniel [1] With my current approach, the only state is the master connection, and if I hibernate the server will drop it (due to TCP timeout).