remove aws stuff - will get from public site
This commit is contained in:
parent
7b1dcdf13b
commit
ae51e774ae
5
makeitso
5
makeitso
|
@ -16,9 +16,4 @@ sudo cp get_authorized_keys /etc/ssh
|
|||
|
||||
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
|
||||
|
|
Loading…
Reference in New Issue
Block a user