Set default SSH port and user credentials in backup client function
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
gyurix
2025-08-06 10:49:02 +02:00
parent d43536b67b
commit c2a1fbd9d8

View File

@@ -265,7 +265,7 @@ backup_set_client() {
local NAME="$1"
local SIZE="$2"
local VPN="$3"
local SSH_PORT="$4"
local SSH_PORT="${4:-20022}"
local SSH_USER="${5:-"backup"}"
local SSH_PASSWORD="${6:-"backup"}"
local OPERATION="$7"