fix: set correct perms for ssh key files
This commit is contained in:
1 parent
ee083eb3c3
commit
2919415d7e
1 file changed
+2
-1
@@ -55,7 +55,8 @@ endif
|
||||
mkdir -p /root/.ssh
|
||||
rm -f /root/.ssh/dokku_test_rsa*
|
||||
echo -e "y\n" | ssh-keygen -f /root/.ssh/dokku_test_rsa -t rsa -N ''
|
||||
chmod 600 /root/.ssh/dokku_test_rsa*
|
||||
chmod 600 /root/.ssh/dokku_test_rsa
|
||||
chmod 644 /root/.ssh/dokku_test_rsa.pub
|
||||
|
||||
@echo "-----> Setting up ssh config..."
|
||||
ifneq ($(shell ls /root/.ssh/config >/dev/null 2>&1 ; echo $$?),0)
|
||||
|
||||
Reference in new issue
Block a user