Skip to content

Commit bd446ff

Browse files
committed
Update resources
1 parent 747be93 commit bd446ff

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

app.backup_db.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ ENC_PASS='SECRET'
2828
# -------------------------------------------------------------------------------------------------------------------- #
2929

3030
SSH_ON=0
31-
SSH_HOST='192.168.1.1'
31+
SSH_HOST='192.168.1.2'
3232
SSH_USER='root'
3333
SSH_PASS='PASSWORD'
3434
SSH_DST='/remote/directory'

app.backup_db.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ function _sum() {
219219
}
220220

221221
function _ssh() {
222-
echo "${SSH_PASS}" | sshfs "${SSH_USER:-root}@${SSH_HOST}:/${1}" "${2}" -o 'password_stdin'
222+
echo "${SSH_PASS}" | sshfs "${SSH_USER:-root}@${SSH_HOST}:/${1}" "${2}" -p "${SSH_PORT:-22}" -o 'password_stdin'
223223
}
224224

225225
function _rsync() {

0 commit comments

Comments
 (0)