add option TCPKeepAlive to borg ssh connection
This commit is contained in:
parent
790d62a58f
commit
7d4f36d831
1 changed files with 1 additions and 1 deletions
|
@ -66,7 +66,7 @@ in
|
|||
repo = "borg@backup0.dadada.li:/mnt/storage/backup/${config.networking.hostName}";
|
||||
doInit = false;
|
||||
environment = {
|
||||
BORG_RSH = "ssh -i /var/lib/borgbackup/bs/id_ed25519 -o 'StrictHostKeyChecking accept-new'";
|
||||
BORG_RSH = "ssh -i /var/lib/borgbackup/bs/id_ed25519 -o 'StrictHostKeyChecking accept-new' -o 'TCPKeepAlive=yes'";
|
||||
};
|
||||
encryption = {
|
||||
mode = "repokey";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue