From: Stefan Huber Date: Fri, 3 Jan 2014 12:54:55 +0000 (+0100) Subject: Add ssh-withautoadd.sh X-Git-Url: https://git.sthu.org/?a=commitdiff_plain;h=c051e0c6c6d0d05632ac4622cedcd2963d8ef486;p=shutils.git Add ssh-withautoadd.sh --- diff --git a/ssh-withautoadd.sh b/ssh-withautoadd.sh new file mode 100755 index 0000000..c134329 --- /dev/null +++ b/ssh-withautoadd.sh @@ -0,0 +1,5 @@ +#!/bin/sh + +ssh-add -l > /dev/null || ssh-add +ssh "$@" +