Create basic SSH config and key generataion, other minor updates
Basis ssh host config and ssh keygen script, does not hard create, but prints out commads Fix sudo set check in init.sh file Repository name to ssh config host name fix in the new clone script. Change was done to match ssh config create file
This commit is contained in:
@@ -23,7 +23,7 @@ if [ -z "$(command -v git)" ]; then
|
||||
fi;
|
||||
GIT_COMMAND_BASE=("git");
|
||||
SUDO_COMMAND=()
|
||||
if [ -n "${USE_SUDO}" ]; then
|
||||
if [ "${USE_SUDO}" == 1 ]; then
|
||||
# if we are root -> ok, else we must be SUDO USER
|
||||
if [ "$(whoami)" = "root" ]; then
|
||||
SUDO_COMMAND=("sudo" "-u" "${SUDO_USER}");
|
||||
|
||||
Reference in New Issue
Block a user