Commit 753bf628 authored by Joachim Mathes's avatar Joachim Mathes

TASK: Adjust public key copy logic

parent 3cea4ad1
......@@ -5,7 +5,9 @@ check_project_status() {
prepare_user_proserver() {
cat /home/vagrant/.ssh/authorized_keys > /home/proserver/.ssh/authorized_keys
sudo cp /home/vagrant/.ssh/authorized_keys /home/proserver/.ssh/authorized_keys
sudo chown proserver:proserver /home/proserver/.ssh/authorized_keys
sudo chmod 600 /home/proserver/.ssh/authorized_keys
initialize_project() {
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment