Score:0

etckeeper git backup on LAN server via SSH fails

sd flag

I have a 20.04 server on my LAN. It runs a local git and etckeeper successfully I can SSH in using certificates/key from anywhere in my lan including local nameresolution via bind9 (ie passwordless)

I am also running git/etckeeper on my laptop but want to also backup the git to the local server.

I've tried to follow the etckeeper authors guide https://etckeeper.branchable.com/README/ specifically git remote add backup ssh://server/etc-clone

when I put in my server name and /route/to/folder it fails with "fatal: not a git repository (or any of the parent directories): .git"

I can't get any form of ssh://server/route/to/folder to work with any command eg "ls ssh://...." file or directory not found. This includes substituting IP address and also prefixing with my username

The destination folder is git init --bare --shared

Not sure if this is a SSH config issue, permissions or git

Any assistance would be much appreciated

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.