Code Update
This commit is contained in:
parent
b36f98e5e9
commit
256a79e427
@ -1,11 +1,6 @@
|
|||||||
wx-ssh(){
|
wx-ssh(){
|
||||||
wx-login
|
wx-login
|
||||||
|
|
||||||
mkdir -p $HOME/.ssh/keys
|
|
||||||
chmod 700 -R $HOME/.ssh/keys
|
|
||||||
mkdir -p $HOME/.ssh/multiplex
|
|
||||||
chmod 700 -R $HOME/.ssh/multiplex
|
|
||||||
|
|
||||||
case $1 in
|
case $1 in
|
||||||
keys)
|
keys)
|
||||||
wx-ssh-keys $2 $3
|
wx-ssh-keys $2 $3
|
||||||
|
@ -9,5 +9,10 @@ wx-start(){
|
|||||||
then
|
then
|
||||||
echo '{}' | jq > $HOME/.config/warengroup/config.json
|
echo '{}' | jq > $HOME/.config/warengroup/config.json
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
mkdir -p $HOME/.ssh/keys
|
||||||
|
chmod 700 -R $HOME/.ssh/keys
|
||||||
|
mkdir -p $HOME/.ssh/multiplex
|
||||||
|
chmod 700 -R $HOME/.ssh/multiplex
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
10
wx
10
wx
@ -72,6 +72,11 @@ wx-start(){
|
|||||||
then
|
then
|
||||||
echo '{}' | jq > $HOME/.config/warengroup/config.json
|
echo '{}' | jq > $HOME/.config/warengroup/config.json
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
mkdir -p $HOME/.ssh/keys
|
||||||
|
chmod 700 -R $HOME/.ssh/keys
|
||||||
|
mkdir -p $HOME/.ssh/multiplex
|
||||||
|
chmod 700 -R $HOME/.ssh/multiplex
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -167,11 +172,6 @@ wx-infra(){
|
|||||||
wx-ssh(){
|
wx-ssh(){
|
||||||
wx-login
|
wx-login
|
||||||
|
|
||||||
mkdir -p $HOME/.ssh/keys
|
|
||||||
chmod 700 -R $HOME/.ssh/keys
|
|
||||||
mkdir -p $HOME/.ssh/multiplex
|
|
||||||
chmod 700 -R $HOME/.ssh/multiplex
|
|
||||||
|
|
||||||
case $1 in
|
case $1 in
|
||||||
keys)
|
keys)
|
||||||
wx-ssh-keys $2 $3
|
wx-ssh-keys $2 $3
|
||||||
|
Loading…
Reference in New Issue
Block a user