#!/bin/sh tmpfile="$(mktemp)" chmod 700 $tmpfile echo "pass homelab/ssh" > $tmpfile export SSH_ASKPASS="$tmpfile" export SSH_ASKPASS_REQUIRE="force" ssh-add rm $tmpfile