diff --git a/src/commands/ssh/sign.sh b/src/commands/ssh/sign.sh index b927c56..65a1ee2 100644 --- a/src/commands/ssh/sign.sh +++ b/src/commands/ssh/sign.sh @@ -21,7 +21,7 @@ wx-ssh-sign(){ wx-ssh-sign-create(){ mkdir -p $HOME/.ssh/keys - chmod 600 $HOME/.ssh/keys + chmod 700 -R $HOME/.ssh/keys NAME=$1 ROLE=$2 diff --git a/wx b/wx index 91941f9..0d7d2ab 100755 --- a/wx +++ b/wx @@ -385,7 +385,7 @@ wx-ssh-sign(){ wx-ssh-sign-create(){ mkdir -p $HOME/.ssh/keys - chmod 600 $HOME/.ssh/keys + chmod 700 -R $HOME/.ssh/keys NAME=$1 ROLE=$2