Skip to content

Commit

Permalink
fix backup ports for bsd
Browse files Browse the repository at this point in the history
  • Loading branch information
hellt committed Aug 22, 2024
1 parent cbba711 commit b7ef351
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions freebsd/docker/backup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ handle_args() {
password=$DEFAULT_PASSWORD
fi

SSH_CMD="sshpass -p $password ssh -o LogLevel=ERROR -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -p2022"
SCP_CMD="sshpass -p $password scp -o LogLevel=ERROR -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -P2022"
SSH_CMD="sshpass -p $password ssh -o LogLevel=ERROR -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null"
SCP_CMD="sshpass -p $password scp -o LogLevel=ERROR -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null"
HOST="$user@localhost"

# Parse commands
Expand Down
4 changes: 2 additions & 2 deletions openbsd/docker/backup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ handle_args() {
password=$DEFAULT_PASSWORD
fi

SSH_CMD="sshpass -p $password ssh -o LogLevel=ERROR -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -p2022"
SCP_CMD="sshpass -p $password scp -o LogLevel=ERROR -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -P2022"
SSH_CMD="sshpass -p $password ssh -o LogLevel=ERROR -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null"
SCP_CMD="sshpass -p $password scp -o LogLevel=ERROR -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null"
HOST="$user@localhost"

# Parse commands
Expand Down

0 comments on commit b7ef351

Please sign in to comment.