Adapt ssh-bouncer case
This commit is contained in:
parent
9e5905562e
commit
7d517c52f4
6
setup.sh
Normal file → Executable file
6
setup.sh
Normal file → Executable file
@ -55,8 +55,10 @@ sudo -H -u $user $sync_directory_path/conf-sync/install.sh
|
||||
|
||||
# set use case config
|
||||
echo "Getting and deploying use-case $use_case configuration"
|
||||
if [[ $use_case != 'ssh-bounce-server' ]]; then
|
||||
sudo -H -u $user git clone https://gitea.kto.black/adminconf/$use_case.git $sync_directory_path/$use_case
|
||||
# TODO how to start install? We need to define variables
|
||||
fi
|
||||
|
||||
# SSH config
|
||||
echo "Getting SSH public key"
|
||||
@ -77,7 +79,9 @@ echo ""
|
||||
echo "We're all good here!"
|
||||
echo "You should now:"
|
||||
echo "* lock root account"
|
||||
echo "* copy your SSH config file"
|
||||
if [[ $use_case = 'ssh-bounce-server' ]]; then
|
||||
echo "* clone remote-stuff"
|
||||
fi
|
||||
echo "* reboot the SBC"
|
||||
echo "And perhaps:"
|
||||
echo "* set a new password for $user"
|
||||
|
Loading…
Reference in New Issue
Block a user