X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 5120A3889C36 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1626723840; bh=TPgBpGA31fkemuh4gx11VVt/A24Jgc7jWqnUjL6Lifg=; h=Date:Subject:To:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=o3cXveXCZ8rUTB2nYVaHBcM+VkO0gX+JojLGq0dffhIg8H6EqFn3RpheGQBzY7y2N oQDpHFF5UxNv1h+7/6Byg4Y/AnyPwU0H9744+vh2nqyF5v4Ab4DfaWSEi4N1l+BdCc z8MqXvMffnBmtermV0XiZx24KIh78XXKaUVMWmvo= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org EF40C385703E X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=Jqwe58P0jEIdWGAIe0FiUiGUqm/YZYF0ZcD6REzLqk8=; b=aW57yYWlUedalNpyr7uTEsj3Ba/7D2GUfJBMWmlI7wzstdQStMRDzHWvTCW92U6Xea tbyb+UZs1+4tMz/Gi/9IqWDR5sIlIVnrRnmKM/jTolbtquZlUuRpt8jWzn4Toz8oTSid 5gsCG5IfyWgNNLGDAdLlp60edpsDsPM2jk3N5rVXfCgxMK0t6vaGFhjxiYPwqRCOaJJu XB6gXwcqElrSlhmZLSZJFvPNS2HJkPS/FJKcTBt+KaEW7rQawj9TVWFg+Cw25+lm7NRq uNSxYPbXOVp9fJWgHy61qOBbYPfTpkWNGZs7xmRhCNjazYfOow28+tXREY53+IS9R7cE I7Uw== X-Gm-Message-State: AOAM532yvlyl7ZS1ooDbeKNMpHFoN4XDAUVuTyEoxn+CBvsOqljqYOQX 0/BiS40ZehjNGjY4NNEQksX5sLW/8kcmb4YNtLeHWAaNvnJRxA== X-Google-Smtp-Source: ABdhPJy1YMqRO7rOk1IxFHJgicKItrXZXq4hhSBD0Mf/WZx7TBNXKgR8NDHPIjueTAsD2JZ1M1P5k6rvRRUhvvdlVt0= X-Received: by 2002:ac2:52a8:: with SMTP id r8mr18820310lfm.475.1626723766526; Mon, 19 Jul 2021 12:42:46 -0700 (PDT) MIME-Version: 1.0 Date: Mon, 19 Jul 2021 12:42:35 -0700 Message-ID: Subject: using ssh-agent in cygwin To: cygwin AT cygwin DOT com X-Spam-Status: No, score=2.0 required=5.0 tests=BAYES_50, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, HTML_MESSAGE, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Level: * X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.29 List-Id: General Cygwin discussions and problem reports List-Archive: List-Post: List-Help: List-Subscribe: , From: Jesse Thompson via Cygwin Reply-To: Jesse Thompson Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "Cygwin" *TL:DR;* I'm looking for options to reliably start and manage an ssh-agent daemon in Cygwin. Using ssh-agent in cygwin seems very compelling. OpenSSH client config AddKeysToAgent option and ssh-agent -t option allow me to keep keys unlocked for limited times the way that I'd like, and unlock upon use instead of upon login, and avoid having to manually ssh-add. But I'm left with the issue of "how can all of my shell windows use the same daemon" and "how can I get the daemon to start automatically without spawning an army of unmanaged zombies"? I have to assume that ssh-agent is very popular to use, and that copy-pasting 6-12 lines of fragile, custom bash code into one's profile doesn't have to be the primary way to get into this club. So, how do you guys manage ssh-agent? Is it really a niche solution, and there's some better way to get similar SSO-like benefits I should know about instead? Please advise, thanks folks! -- *Jesse Thompson | Systems and Network Administrator* *Webformix Wireless Internet * *67 NW Hawthorne Ave, Bend, OR 97703-2915* *Phone: 541-323-9312* -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple