mirror of https://github.com/apache/cloudstack.git
Revert "CLOUDSTACK-2534: Modify id_rsa.cloud's permission to 600"
This reverts commit 5d70e1928c.
Wrong fix. The correct key is at:
/var/cloudstack/management/.ssh/id_rsa
This commit is contained in:
parent
5d70e1928c
commit
c8bc7a0af5
|
|
@ -65,7 +65,7 @@ copy_priv_key() {
|
|||
local newprivkey=$1
|
||||
diff -q $newprivkey $(dirname $0)/id_rsa.cloud && return 0
|
||||
$SUDO cp -fb $newprivkey $(dirname $0)/id_rsa.cloud
|
||||
$SUDO chmod 600 $(dirname $0)/id_rsa.cloud
|
||||
$SUDO chmod 644 $(dirname $0)/id_rsa.cloud
|
||||
return $?
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue