Answer the question
In order to leave comments, you need to log in
How to encrypt one Linux to another?
Hello dear!
Answer the question
In order to leave comments, you need to log in
tar => openssl aes-256-cbc -in my_backup.tar.gz -out my_backup.enc => scp ?
Well, it's like a trial balloon of the proposal.
I would do this: go to gentoo via ssh, connect an encrypted disk, start rsync on ubuntu.
The encrypted drive will not be accessible without the key.
The key is lying on ubuntu in a place where there is only root access.
Read about LUKS partition encryption and SSHFS mounting (eg here and here ) On gentoo, create a physical partition or lvm or container. I won’t advise you on specific examples, I did it a long time ago, now there is no such need.
But everything was exactly like this:
I allocated a partition with LVM, encrypted it.
Connected the encrypted partition via mount sshfs entered the key
Next, any tool on your side will do.
Scp was still working for me (I was not familiar with rsync - now of course you can’t do without it)
You can do either a full backup, or synchronization, or archives, as you write.
You can still try to create an encrypted container and mount it if there is no way to make partitions.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question