added -o StrictHostKeyChecking=no for the backup script
This commit is contained in:
@@ -20,7 +20,7 @@ GauntRouterSSHFSMountDirectory="${SSHFSMountDirectory}/${DNSName}"
|
||||
/usr/bin/mkdir -v ${GauntRouterSSHFSMountDirectory} && \
|
||||
/usr/bin/echo ${GauntRouter01EncryptedRootPassword} | \
|
||||
/usr/bin/clevis decrypt | \
|
||||
/usr/bin/sshfs -o password_stdin -o ro \
|
||||
/usr/bin/sshfs -o password_stdin -o ro -o StrictHostKeyChecking=no \
|
||||
root@${DNSName}:/ ${GauntRouterSSHFSMountDirectory} && \
|
||||
/usr/bin/proxmox-backup-client backup \
|
||||
conf.pxar:${GauntRouterSSHFSMountDirectory}/conf \
|
||||
@@ -38,7 +38,7 @@ TheGauntsRouterSSHFSMountDirectory="${SSHFSMountDirectory}/${DNSName}"
|
||||
/usr/bin/mkdir -v ${TheGauntsRouterSSHFSMountDirectory} && \
|
||||
/usr/bin/echo ${TheGauntsRouterEncryptedRootPassword} | \
|
||||
/usr/bin/clevis decrypt | \
|
||||
/usr/bin/sshfs -o password_stdin -o ro \
|
||||
/usr/bin/sshfs -o password_stdin -o ro -o StrictHostKeyChecking=no \
|
||||
root@${DNSName}:/ ${TheGauntsRouterSSHFSMountDirectory} && \
|
||||
/usr/bin/proxmox-backup-client backup \
|
||||
conf.pxar:${TheGauntsRouterSSHFSMountDirectory}/conf \
|
||||
@@ -56,7 +56,7 @@ GauntNASSSHFSMountDirectory="${SSHFSMountDirectory}/${DNSName}"
|
||||
/usr/bin/mkdir -v ${GauntNASSSHFSMountDirectory} && \
|
||||
/usr/bin/echo ${GauntNASEncryptedRootPassword} | \
|
||||
/usr/bin/clevis decrypt | \
|
||||
/usr/bin/sshfs -o password_stdin -o ro \
|
||||
/usr/bin/sshfs -o password_stdin -o ro -o StrictHostKeyChecking=no \
|
||||
root@${DNSName}:/ ${GauntNASSSHFSMountDirectory} && \
|
||||
/usr/bin/proxmox-backup-client backup \
|
||||
data.pxar:${GauntNASSSHFSMountDirectory}/data \
|
||||
|
||||
Reference in New Issue
Block a user