less flattr buttons - it is very dead and I don't use it anymore
[www-rohieb-name.git] / blag / post / ssh-key-authentication-with-encrypted-home-directories.mdwn
index 1b4a2da..90d0eb6 100644 (file)
@@ -2,7 +2,6 @@
 [[!meta date="2010-10-09"]]
 [[!meta author="rohieb"]]
 [[!meta license="CC-BY-SA 3.0"]]
-[[!flattrthing id=80700]]
 
 Yesterday, I ran into an interesting problem: I tried to set up [SSH
 public key authentication][0] between two of my machines, `c3po` and
@@ -57,19 +56,19 @@ appropriately:
 There is yet a better approach instead, which doesn’t need the SSHd
 config to be edited at all:
 
-1. login to the user on the remote machine
-2. create `/home/.ecryptfs/$USER/.ssh` and put your `authorized_hosts` there
-3. symlink your encrypted version there:
+1.  login to the user on the remote machine
+2.  create `/home/.ecryptfs/$USER/.ssh` and put your `authorized_hosts` there
+3.  symlink your encrypted version there:
 
-       $ ln -s /home/.ecryptfs/$USER/.ssh/authorized_hosts ~/.ssh/authorized_hosts
+        $ ln -s /home/.ecryptfs/$USER/.ssh/authorized_hosts ~/.ssh/authorized_hosts
 
-4. symlink your unencrypted version there (as above, **make sure** no
-   process wants to write to your home directory in the meantime):
+4.  symlink your unencrypted version there (as above, **make sure** no
+    process wants to write to your home directory in the meantime):
 
-       $ ecryptf-umount-private
-       $ mkdir ~/.ssh
-       $ ln -s /home/.ecryptfs/$USER/.ssh/authorized_hosts ~/.ssh/authorized_hosts
-       $ ecryptfs-mount-private
+        $ ecryptf-umount-private
+        $ mkdir ~/.ssh
+        $ ln -s /home/.ecryptfs/$USER/.ssh/authorized_hosts ~/.ssh/authorized_hosts
+        $ ecryptfs-mount-private
 
 The paths are for Ubuntu 9.10 (Karmic Koala) and later. On other
 systems, you might want to replace `/home/.ecryptfs` with
This page took 0.029855 seconds and 4 git commands to generate.