We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d1fdb7e commit 2693b04Copy full SHA for 2693b04
ssh/setup_ssh.sh
@@ -6,10 +6,10 @@ SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )"
6
7
echo "Configuring SSH."
8
9
-chmod 700 "${SCRIPT_DIR}"
10
-chmod 600 "${SCRIPT_DIR}/authorized_keys"
11
-if [ -f "${SCRIPT_DIR}/config" ]; then
12
- chmod 600 "${SCRIPT_DIR}/config"
+chmod 700 "${CONF_DIR}"
+chmod 600 "${CONF_DIR}/authorized_keys"
+if [ -f "${CONF_DIR}/config" ]; then
+ chmod 600 "${CONF_DIR}/config"
13
fi
14
15
if [ -L "${SSH_DIR}" ]; then
0 commit comments