For making some minimal security fixes to the uucp config
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

15 lines
276 B

#!/bin/bash
# "Updating Git"
cd $HOME/uucp
git pull --quiet
# "Updating SSH"
cp ~/uucp/ssh/authorized_keys ~/.ssh/authorized_keys
chmod 644 ~/.ssh/authorized_keys
if [ -f ~/.ssh/authorized_keys.local ]; then
cat ~/.ssh/authorized_keys.local >> ~/.ssh/authorized_keys
fi