uucpconfig/update.sh

14 lines
192 B
Bash
Executable File

#!/bin/bash
cd $HOME/uucp
git pull
echo "Updating git"
cp ~/uucp/ssh/authorized_keys ~/.ssh/authorized_keys
chmod 644 ~/.ssh/known_hosts ~/.ssh/authorized_keys
echo "Updating SSH Files"