From a7056fbef1617e1363e75e8559b7a5ad17826def Mon Sep 17 00:00:00 2001 From: praetor Date: Thu, 28 Feb 2019 16:31:58 +0000 Subject: [PATCH] added ssh key update script --- update.sh | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100755 update.sh diff --git a/update.sh b/update.sh new file mode 100755 index 0000000..5548dc0 --- /dev/null +++ b/update.sh @@ -0,0 +1,14 @@ +#!/bin/bash + + +cd $HOME/uucp +git pull + +echo "Updating git" + +cp ~/uucp/ssh/authorized_keys ~/.ssh/authorized_keys +cp ~/uucp/ssh/known_hosts ~/.ssh/known_hosts +chmod 644 ~/.ssh/known_hosts ~/.ssh/authorized_keys +echo "Updating SSH Files" + +