From: Eric S. Raymond Date: Thu, 14 Dec 2006 04:29:14 +0000 (+0000) Subject: And this version does work. X-Git-Tag: 1.5~9 X-Git-Url: http://thyrsus.com/gitweb/?a=commitdiff_plain;h=3c05d47de615b8a1a7ae2f1657cf36bb90704a74;p=ssh-installkeys.git And this version does work. --- diff --git a/sshauth b/sshauth index 6d71a82..5a81907 100755 --- a/sshauth +++ b/sshauth @@ -122,7 +122,7 @@ echo "Local configuration looks correct." if [ $delete = yes ] then ssh ${port} ${verbose} -l ${user} ${host} "rm -fr .ssh" - "Keys for $user and $host have been deleted." + echo "Keys for $user and $host have been deleted." exit 0 fi @@ -160,7 +160,7 @@ then exit 1 else echo \"Creating remote .ssh...\" - mkdir \~/.ssh + mkdir .ssh fi fi fixperms .ssh @@ -181,7 +181,7 @@ EOF fi " -if [ $check = 'yes' -a $verbose = '-v' ] +if [ "$check" = 'yes' -a "$verbose" = '-v' ] then echo "Here is the agent script that would be run:" echo "$agent"