X-Git-Url: http://git.sthu.org/?a=blobdiff_plain;f=ssh-withautoadd.sh;fp=ssh-withautoadd.sh;h=c1343293e90b05084bebe7e586d6926e7be429d9;hb=c051e0c6c6d0d05632ac4622cedcd2963d8ef486;hp=0000000000000000000000000000000000000000;hpb=1d876fd2b1d4305789cfa9fb84daf4c3374043c8;p=shutils.git 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 "$@" +