Skip to content

Commit 58883f3

Browse files
shellrc: fixed SSH_AUTH_SOCKET file permission
1 parent a2ef75c commit 58883f3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • .oh-my-shell/shellrc/plugins/ssh

.oh-my-shell/shellrc/plugins/ssh/post.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ cat <<EOF >$SSH_AGENT_SETUP_SCRIPT
6060
# Link ssh-agent socket to normalized paths
6161
socket_link="\$HOME/.ssh/agent/env/\$USER_SSH_AGENT_ENV_NAME.socket"
6262
ln -s -f "\$SSH_AUTH_SOCK" "\$socket_link"
63-
chmod 600 "$socket_link"
63+
chmod 600 "\$socket_link"
6464
EOF
6565

6666
# Create a single ssh-agent instance across all terminal sessions, for each predefined agent

0 commit comments

Comments
 (0)