create .ssh if not already exist
This commit is contained in:
parent
1681799462
commit
84fff865ee
@ -1,4 +1,6 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
cd
|
||||||
|
mkdir ~/.ssh
|
||||||
|
|
||||||
cp ~/.ssh/authorized_keys ~/.ssh/authorized_keys.old 2>/dev/null || true
|
cp ~/.ssh/authorized_keys ~/.ssh/authorized_keys.old 2>/dev/null || true
|
||||||
|
|
||||||
|
@ -5,8 +5,7 @@ USER=$(whoami)
|
|||||||
Green='\033[0;32m' # Green
|
Green='\033[0;32m' # Green
|
||||||
NC='\033[0m' # No Color
|
NC='\033[0m' # No Color
|
||||||
|
|
||||||
cd
|
cd ~
|
||||||
mkdir .ssh
|
|
||||||
|
|
||||||
echo -e "
|
echo -e "
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user