remove aws stuff - will get from public site

This commit is contained in:
Emil Lerch 2021-07-16 09:56:10 -07:00
parent 7b1dcdf13b
commit ae51e774ae
Signed by: lobo
GPG Key ID: A7B62D657EF764F8

View File

@ -16,9 +16,4 @@ sudo cp get_authorized_keys /etc/ssh
sudo chmod 755 /etc/ssh/get_authorized_keys sudo chmod 755 /etc/ssh/get_authorized_keys
sudo -u authorizedkeysuser mkdir ~authorizedkeysuser/.aws
sudo -u authorizedkeysuser cp config ~authorizedkeysuser/.aws
sudo -u authorizedkeysuser cp .credentials ~authorizedkeysuser/.aws/credentials
sudo -u authorizedkeysuser chmod 600 ~authorizedkeysuser/.aws/*
sudo -H -u authorizedkeysuser sh -c 'command -v aws > /dev/null 2>&1 || pip install --user awscli'
sudo systemctl restart sshd sudo systemctl restart sshd