My shell portfolio begins

This commit is contained in:
2024-12-11 13:01:29 -06:00
parent aaca49937f
commit c2b1b821f7
41 changed files with 1567 additions and 0 deletions

10
custom_ssh_handler.sh Normal file
View File

@@ -0,0 +1,10 @@
function custom_ssh()
{
CUSTOMSSH_USER=$1
CUSTOMSSH_HOST=$2
CUSTOMSSH_COMMAND=$3
SSH_TARGET="$CUSTOMSSH_USER@$CUSTOMSSH_HOST"
ssh -q -t -o StrictHostKeyChecking=no -i $SSH_KEY $SSH_TARGET "$CUSTOMSSH_COMMAND"
}