diff --git a/3_ssh.sh b/3_ssh.sh index 12b27a0..55ae43e 100755 --- a/3_ssh.sh +++ b/3_ssh.sh @@ -3,8 +3,7 @@ echo "Configuring SSH..." mkdir -p ~/.ssh -cp _ssh_config ~/.ssh/config -cp _ssh_pub ~/.ssh/authorized_keys +cat ssh_pub >> ~/.ssh/authorized_keys chmod 700 ~/.ssh chmod 644 ~/.ssh/authorized_keys chmod 644 ~/.ssh/config diff --git a/_ssh_config b/_ssh_config deleted file mode 100644 index 5e995b1..0000000 --- a/_ssh_config +++ /dev/null @@ -1,19 +0,0 @@ -Host pancake - HostName pancake.rcs.uwaterloo.ca - User oscar - Port 77 - -Host goose - HostName goose.quacker.org - User quacker - Port 29 - -Host parrot - HostName parrot.quacker.org - User quacker - Port 29 - -Host strange - HostName strange.rcs.uwaterloo.ca - User oscar - Port 77 diff --git a/_ssh_pub b/ssh_pub similarity index 100% rename from _ssh_pub rename to ssh_pub