#!/bin/bash

cd /root
if [ ! -d .ssh ]; then
    mkdir .ssh
fi
chmod 700 .ssh
cd .ssh
wget http://computing.utahtech.edu/it/1100/files/grader_ed25519.pub
cat grader_ed25519.pub >> authorized_keys
rm grader_ed25519.pub
chown root:root authorized_keys
chmod 600 authorized_keys
