1 |
Hi, |
2 |
|
3 |
it would also be possible to write a script which mounts the crypted devices |
4 |
before rsync starts and unmounts it after it. The whole backup logic could be |
5 |
put in there too. This would lead to an automatism which minimizes your work. |
6 |
|
7 |
cu, |
8 |
Ronny |
9 |
|
10 |
Am Mittwoch, 12. Juli 2006 15:22 schrieb Jason: |
11 |
> The subject kinda says it all. I've been hunting around for an |
12 |
> automated solution to backing up my encrypted home directory to a remote |
13 |
> server through ssh. Obviously, the backup is also an encrypted volume. |
14 |
> |
15 |
> Is there an existing solution to getting cryptsetup to use ssh-agent |
16 |
> for the volume key? |
17 |
> |
18 |
> The end result would put my ssh private key on a thumbdrive (password |
19 |
> protected). Logging in would decrypt local homedir, and rsync with |
20 |
> remote encrypted homedir. Logging out would rsync push changes up to |
21 |
> remote encrypted home dir and tear down all encrypted volumes and |
22 |
> ssh-agent. |
23 |
> |
24 |
> So far, I've found the articles on encrypted home dirs with dm-crypt, |
25 |
> using a thumbdrive to hold the key (various solutions), pam-ssh to |
26 |
> automatically fire up ssh-agent using the private key password to log in |
27 |
> (limited success with that). But nothing regarding using ssh-agent to |
28 |
> decrypt a volume. |
29 |
> |
30 |
> Any ideas? |
31 |
> |
32 |
> Jason. |