From f3cb7d8f521b345d84b6583a30a4110b6c0d2088 Mon Sep 17 00:00:00 2001 From: Loic Nageleisen Date: Mon, 12 Feb 2024 19:09:22 +0100 Subject: [PATCH] Add notes about ssh-agent key adding --- shell/ssh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/shell/ssh b/shell/ssh index 5a9af10..be2a477 100755 --- a/shell/ssh +++ b/shell/ssh @@ -18,6 +18,11 @@ if [[ -n "${SSH_AUTH_SOCK}" ]]; then case "${OSTYPE}" in linux*) # TODO: unsure yet + # maybe: + # ssh-add ~/.ssh/id_*[!.pub] + # or on demand: + # see ssh_config(5) AddKeysToAgent yes or ask + # see ssh(1) SSH_ASKPASS=/path/to/ask / SSH_ASKPASS_REQUIRE=prefer : ;; darwin*)