From 6bf6da88c97a3b9c63d1b1664b8499504efe20c6 Mon Sep 17 00:00:00 2001 From: quackerd Date: Fri, 27 Sep 2019 00:52:32 -0400 Subject: [PATCH] ssh --- 3_ssh.sh | 3 +-- _ssh_config | 19 ------------------- _ssh_pub => ssh_pub | 0 3 files changed, 1 insertion(+), 21 deletions(-) delete mode 100644 _ssh_config rename _ssh_pub => ssh_pub (100%) 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