Well, this is where I'm a bit confused. Who is the "backup user"?
The NAS has one user called steve. If I ssh into the NAS and enter the
docker that Backuppc is running in, that has one user called backuppc.
There is no user called backuppc on the Windows box but there is a user
steve.
I can ssh into the windows box from inside the docker but it did ask for a
password.
So I think the answer to your question is "No"

If I look at the /home/backuppc/.ssh/known_hosts file inside the docker I
see that there is an entry for my Windows box (called new_asus_laptop). In
fact there are 2 which could be this issue?
The first looks like:
new_asus_laptop ssh-ed25519 <hash>
and the second looks like:
ssh-rsa <hash> steve@new_asus_laptop



On Fri, Jan 26, 2024 at 6:48 PM Michael Stowe <
michael.st...@member.mensa.org> wrote:

> On 2024-01-26 13:46, Stephen Blackwell wrote:
>
> I'm just getting back to this.
> I've set up ssh on my Windows machine and I verified that I can log in
> from a linux box using a username and password.
>
> I thought I would be able to set backuppc up to use rsync by looking at
> whatever error messages it produced but that is not working.
> The "BackupPC: host summary" page shows "backup in progress" for this host
> but it gets stuck there forever.
> I'm guessing that this is because the $ClientTimeout is still set to the
> default of 72000s = 8.33days? Need to reduce that! ...
> OK, so I tried reducing it to 120 but I still see the same results. I
> would have expected the summary page to show "timed out" instead of in
> progress.
>
> The event viewer on the Windows box shows a critical event that says
> "sshd: fatal: Timeout before authentication for 192.168.2.53 port 57432".
> but it doesn't says what user tried to logon or what authentication method
> it was expecting,
>
> I have changed the $RsyncSshArgs to "$sshPath -l steve" and I created a
> ssh key pair on the Windows box for user steve . Then I copied the
> id_rsa.pub key and added it to the known_hosts file on the NAS just like I
> did for the Linux box that is working. Still not working.
>
> Is there a way to get more detailed log messages from backuppc or do I
> need to resort to Wireshark?
>
> Steve
>
>
>
> Well, probably not worth leaping to the cat scan when you can see the
> patient is bleeding from an obvious wound.
>
>
> Can your backup user log in to your Windows machine without a password?
> Start there.
>
_______________________________________________
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/

Reply via email to