You could leave an unencrypted version of .ssh/authorized_keys in the
directory where your home gets mounted. Just make a copy, unmount your home,
then copy it back. You will need to use the -o nonempty option when you
mount it, otherwise Fuse will complain about the mount point not being
empty.

On Tue, May 4, 2010 at 1:32 PM, Joe Pfeiffer <jos...@pfeifferfamily.net>wrote:

> I'm running a laptop with my home directory encrypted using encfs.
> This means, of course, that ~/.ssh/authorized_keys is encrypted, and
> in fact doesn't even exist unless my home directory has been mounted.
>
> The practical implication of this is that when I ssh in to the laptop
> from another machine, the behavior is different depending on whether
> I'm already logged in to the laptop.  The first ssh session requires
> me to enter my password (since authorized_keys can't be checked);
> once I'm logged in, I can log in to new sessions without a password.
>
> So...  is anyone aware of a way I can authenticate myself without a
> password, and without a useable authorized_keys file?
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Encfs-users mailing list
> Encfs-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/encfs-users
>
------------------------------------------------------------------------------
_______________________________________________
Encfs-users mailing list
Encfs-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/encfs-users

Reply via email to