#Download Root CA & place in store
mkdir '/usr/share/ca-certificates/tssn'
cd /tmp
wget http://www.tssn.services/public/certs/TSSN-ROOT-CA.cer
wget http://www.tssn.services/public/linux/ADconnection/encrypted.dat.txt
wget http://www.tssn.services/public/linux/ADconnection/private_key.pem
wget http://www.tssn.services/public/linux/ADconnection/public_key.pem
wget http://www.tssn.services/public/linux/ADconnection/readfile.txt
wget http://www.tssn.services/public/linux/ADconnection/sudoers.txt
wget http://www.tssn.services/public/linux/adjoin/ds.tssn.services_banner.txt
wget http://www.tssn.services/public/linux/adjoin/sshd_config.conf
wget http://www.tssn.services/public/linux/adjoin/sssd.conf
mv TSSN-ROOT-CA.cer /usr/share/ca-certificates/tssn/TSSN-ROOT-CA.cer
mv /tmp/encrypted.dat.txt /usr/local/bin/encrypted.dat
mv /tmp/private_key.pem /usr/local/bin
mv /tmp/public_key.pem /usr/local/bin
mv /tmp/readfile.txt /usr/local/bin/readfile
rm -rf /etc/sudoers
mv sudoers.txt /etc/sudoers
mv ds.tssn.services_banner.txt /etc/ssh/ds.tssn.services_banner
rm -rf /etc/ssh/sshd_config
rm -rf /etc/sssd/sssd.conf
mv sssd.conf /etc/sssd/sssd.conf
mv sshd_config.conf /etc/ssh/sshd_config
chmod 0644 /etc/ssh/sshd_config
systemctl restart sssd.service