From aff9e6d985672271f7f86566e503bf0c91a14b98 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christer=20War=C3=A9n?= Date: Mon, 29 Apr 2024 07:52:51 +0300 Subject: [PATCH] Source Update --- src/commands/ssh/sign.sh | 3 ++- wx | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/commands/ssh/sign.sh b/src/commands/ssh/sign.sh index 65a1ee2..c6a71fa 100644 --- a/src/commands/ssh/sign.sh +++ b/src/commands/ssh/sign.sh @@ -21,7 +21,8 @@ wx-ssh-sign(){ wx-ssh-sign-create(){ mkdir -p $HOME/.ssh/keys - chmod 700 -R $HOME/.ssh/keys + chmod 600 -R $HOME/.ssh/keys + chmod 700 $HOME/.ssh/keys NAME=$1 ROLE=$2 diff --git a/wx b/wx index 0d7d2ab..f26f580 100755 --- a/wx +++ b/wx @@ -385,7 +385,8 @@ wx-ssh-sign(){ wx-ssh-sign-create(){ mkdir -p $HOME/.ssh/keys - chmod 700 -R $HOME/.ssh/keys + chmod 600 -R $HOME/.ssh/keys + chmod 700 $HOME/.ssh/keys NAME=$1 ROLE=$2