]> andersk Git - openssh.git/commitdiff
- (bal) ssh-copy-id corrected permissions for .ssh/ and authorized_keys.
authormouring <mouring>
Mon, 8 Oct 2001 01:54:24 +0000 (01:54 +0000)
committermouring <mouring>
Mon, 8 Oct 2001 01:54:24 +0000 (01:54 +0000)
    Prompted by Matthew Vernon <matthew@sel.cam.ac.uk>

ChangeLog
contrib/ssh-copy-id

index 0ed39a77ec5a8ebc63138d15d25945116ab1fa23..03233f20de5df5cb4fb29ec05b788cbcb7c649dc 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+20011007
+ - (bal) ssh-copy-id corrected permissions for .ssh/ and authorized_keys.
+   Prompted by Matthew Vernon <matthew@sel.cam.ac.uk> 
+
 20011005
  - (bal) AES works under Cray, no more hack. 
 
index 0ab37cae484433813c86f1df53c770f194f5523c..2346761f7af0e6ed84922fe921d596a1b5f1aae5 100644 (file)
@@ -33,7 +33,7 @@ if [ -z "`eval $GET_ID`" ]; then
   exit 1
 fi
 
-{ eval "$GET_ID" ; } | ssh $1 "test -d .ssh || mkdir .ssh ; cat >> .ssh/authorized_keys ; chmod g-w . .ssh .ssh/authorized_keys"
+{ eval "$GET_ID" ; } | ssh $1 "umask 077; test -d .ssh || mkdir .ssh ; cat >> .ssh/authorized_keys"
 
 cat <<EOF
 Now try logging into the machine, with "ssh '$1'", and check in:
This page took 0.040059 seconds and 5 git commands to generate.