added ssh key update script

This commit is contained in:
praetor 2019-02-28 16:31:58 +00:00
parent 02acb2236c
commit a7056fbef1
1 changed files with 14 additions and 0 deletions

14
update.sh Executable file
View File

@ -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"