add ssh script

This commit is contained in:
2025-12-04 13:18:51 +02:00
parent e905b1affb
commit ac677ef5ad
2 changed files with 4 additions and 1 deletions
+3
View File
@@ -0,0 +1,3 @@
sshpass -p "$SERVER_PASSWORD" \
ssh -t $SERVER_USER@$SERVER_HOST \
"cd $SERVER_PATH && exec \$SHELL"
+1 -1
View File
@@ -121,7 +121,7 @@ echo "{
echo -e "${GREEN}.vscode/sftp.json created successfully${NC}"
# Go through scripts, add variables and add them to project folder
scripts=("watch-build.sh" "local-remote.sh" "remote-local.sh" "sftp-watch.sh")
scripts=("watch-build.sh" "local-remote.sh" "remote-local.sh" "sftp-watch.sh" "ssh.sh")
for script in "${scripts[@]}"; do
# Add variables to script