Re: [BackupPC-users] How to run a manual backup.

2024-03-06 Thread Iosif Fettich

Thanks, yes the real problem is with the configuration of sshd on CS-9. It 
seems to be slightly different than on CS-8. So I don't have ssh working on the 
CS-9 box yet. I get the
following error when I try to ssh between accounts even on the laptop box 
itself.

    sshd[2608]: refusing RSA key: Invalid key length [preauth]
    sshd[2608]: Accepted password for root from 192.168.1.8 port 35958 ssh2

So I was hoping for the test of BackupPC that running a manual backup when the 
ssh login failed that it would fall back and ask for a password. This is just a 
test laptop and I
wanted to make sure all the services I regularly use were working on it before 
I upgraded my home network.

So it's back to sorting out sshd.


Have a look for that on

https://serverfault.com/questions/1095898/how-can-i-use-a-legacy-ssh-rsa-key-on-centos-9-stream

Maybe it helps.

Iosif Fettich___
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/


Re: [BackupPC-users] How to run a manual backup.

2024-03-06 Thread Les Mikesell
On Wed, Mar 6, 2024 at 9:18 AM Tony Molloy  wrote:
>
> Thanks, yes the real problem is with the configuration of sshd on CS-9. It 
> seems to be slightly different than on CS-8. So I don't have ssh working on 
> the CS-9 box yet. I get the following error when I try to ssh between 
> accounts even on the laptop box itself.
>
> sshd[2608]: refusing RSA key: Invalid key length [preauth]
> sshd[2608]: Accepted password for root from 192.168.1.8 port 35958 ssh2
>
> So I was hoping for the test of BackupPC that running a manual backup when 
> the ssh login failed that it would fall back and ask for a password. This is 
> just a test laptop and I wanted to make sure all the services I regularly use 
> were working on it before I upgraded my home network.
>
> So it's back to sorting out sshd.


It looks like they have changed the acceptable key pairs for sshd in
CS-9.   I found this article saying you either have to configure the
crypto policy to accept SHA1 or generate new key pairs with an
acceptable format.
https://serverfault.com/questions/1095898/how-can-i-use-a-legacy-ssh-rsa-key-on-centos-9-stream

-- 
   Les Mikesell
 lesmikes...@gmail.com


___
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/


Re: [BackupPC-users] How to run a manual backup.

2024-03-06 Thread Tony Molloy
Thanks, yes the real problem is with the configuration of sshd on CS-9. It
seems to be slightly different than on CS-8. So I don't have ssh working on
the CS-9 box yet. I get the following error when I try to ssh between
accounts even on the laptop box itself.

sshd[2608]: refusing RSA key: Invalid key length [preauth]
sshd[2608]: Accepted password for root from 192.168.1.8 port 35958 ssh2

So I was hoping for the test of BackupPC that running a manual backup when
the ssh login failed that it would fall back and ask for a password. This
is just a test laptop and I wanted to make sure all the services I
regularly use were working on it before I upgraded my home network.

So it's back to sorting out sshd.

Regards,
Tony

On Mon, 4 Mar 2024 at 17:08, Mike Hughes  wrote:

> Hi Tony,
>
> If you're stuck at the ssh part, you won't be successful running a backup
> as making the connection is the first step.
> What happens when you try to ssh to this client from the backuppc account
> on the backup server? Assume you've already tried ssh-copy-id but it's
> failing. I'm having trouble imagining what part of an upgrade would have
> broken a functional ssh key pairing unless the IP address changed.
>
> As for a local backup you could use rsync to copy home to another
> partition:
>
> rsync -a dir1/ dir2
>
>
> https://www.digitalocean.com/community/tutorials/how-to-use-rsync-to-sync-local-and-remote-directories
> --
> *From:* Tony Molloy 
> *Sent:* Sunday, March 3, 2024 9:42 AM
> *To:* backuppc-users@lists.sourceforge.net <
> backuppc-users@lists.sourceforge.net>; Tony Molloy  >
> *Subject:* [BackupPC-users] How to run a manual backup.
>
> Is it possible to run a backup of a share from the command line. I've
> checked the manual and can't seem to find it.
>
> I've several CentOS-Stream-8 boxes backing up without  problems. I
> upgraded one box to CentOS-Stream-9 and I'm having trouble configuring sshd
> to get rsync for backuppc working. I'd just like to do a full backup of the
> home directories until I get sshd working.
>
> Thanks,
> Tony.
> ___
> 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/
>
___
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/