Alysha Creelman
commited on
Changing from mykey to group_key in key_setup.sh
Browse files- key_setup.sh +2 -2
key_setup.sh
CHANGED
@@ -29,7 +29,7 @@ chmod 600 group_key*
|
|
29 |
|
30 |
# Insert the key into the authorized_keys file on the server
|
31 |
# One > creates
|
32 |
-
cat
|
33 |
# two >> appends
|
34 |
# Remove to lock down machine
|
35 |
#cat student-admin_key.pub >> authorized_keys
|
@@ -45,7 +45,7 @@ scp -i student-admin_key -P ${PORT} -o StrictHostKeyChecking=no authorized_keys
|
|
45 |
|
46 |
# Add the key to the ssh-agent
|
47 |
eval "$(ssh-agent -s)"
|
48 |
-
ssh-add
|
49 |
|
50 |
# entered our password
|
51 |
|
|
|
29 |
|
30 |
# Insert the key into the authorized_keys file on the server
|
31 |
# One > creates
|
32 |
+
cat group_key.pub > authorized_keys
|
33 |
# two >> appends
|
34 |
# Remove to lock down machine
|
35 |
#cat student-admin_key.pub >> authorized_keys
|
|
|
45 |
|
46 |
# Add the key to the ssh-agent
|
47 |
eval "$(ssh-agent -s)"
|
48 |
+
ssh-add group_key
|
49 |
|
50 |
# entered our password
|
51 |
|