fix: drop existing key

This commit is contained in:
Jose Diaz-Gonzalez
2020-06-02 13:04:46 -04:00
parent 1cab6acf69
commit bf7e86fb13

View File

@@ -78,6 +78,7 @@ endif
endif
@echo "-----> Installing SSH public key..."
rm -f /home/dokku/.ssh/authorized_keys
sudo sshcommand acl-remove dokku test
cat /root/.ssh/dokku_test_rsa.pub | sudo sshcommand acl-add dokku test