- (bal) ssh-copy-id corrected permissions for .ssh/ and authorized_keys.
Prompted by Matthew Vernon <matthew@sel.cam.ac.uk>
This commit is contained in:
parent
4c90149c50
commit
f16c81f900
|
@ -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.
|
||||
|
||||
|
@ -6638,4 +6642,4 @@
|
|||
- Wrote replacements for strlcpy and mkdtemp
|
||||
- Released 1.0pre1
|
||||
|
||||
$Id: ChangeLog,v 1.1583 2001/10/06 00:08:09 mouring Exp $
|
||||
$Id: ChangeLog,v 1.1584 2001/10/08 01:54:24 mouring Exp $
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue