We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 747be93 commit bd446ffCopy full SHA for bd446ff
2 files changed
app.backup_db.conf
@@ -28,7 +28,7 @@ ENC_PASS='SECRET'
28
# -------------------------------------------------------------------------------------------------------------------- #
29
30
SSH_ON=0
31
-SSH_HOST='192.168.1.1'
+SSH_HOST='192.168.1.2'
32
SSH_USER='root'
33
SSH_PASS='PASSWORD'
34
SSH_DST='/remote/directory'
app.backup_db.sh
@@ -219,7 +219,7 @@ function _sum() {
219
}
220
221
function _ssh() {
222
- echo "${SSH_PASS}" | sshfs "${SSH_USER:-root}@${SSH_HOST}:/${1}" "${2}" -o 'password_stdin'
+ echo "${SSH_PASS}" | sshfs "${SSH_USER:-root}@${SSH_HOST}:/${1}" "${2}" -p "${SSH_PORT:-22}" -o 'password_stdin'
223
224
225
function _rsync() {
0 commit comments