mirror of
https://github.com/webinstall/webi-installers.git
synced 2026-08-19 03:56:16 +00:00
correct perms on .ssh
This commit is contained in:
@@ -4,7 +4,10 @@
|
||||
set -e
|
||||
set -u
|
||||
|
||||
mkdir -p "$HOME/.ssh/"
|
||||
if [ ! -d "$HOME/.ssh" ]; then
|
||||
mkdir -p "$HOME/.ssh/"
|
||||
chmod 0700 "$HOME/.ssh/"
|
||||
fi
|
||||
|
||||
if [ ! -f "$HOME/.ssh/id_rsa" ]; then
|
||||
ssh-keygen -b 2048 -t rsa -f "$HOME/.ssh/id_rsa" -q -N ""
|
||||
|
||||
Reference in New Issue
Block a user