[Bug 362427] Re: Public key ssh auth doesn't work with my Encrypted Home Directory

2014-07-28 Thread remyvrs
Hi guys, I am not really an experienced user and haven't actually applied the solution proposed in comment #12 , but as I understand the authorized public key is added in .ssh/authorized_keys, so, wouldn't it be possible to put another public key using a live cd and then login using the

[Bug 362427] Re: Public key ssh auth doesn't work with my Encrypted Home Directory

2014-03-31 Thread bulldozer2003
If you've implementing Dustin's workaround, you may run into a delay when logging in, and an Xauthority error. This is caused by xauth being unable to write to your home directory before the encrypted directory is mounted. Here is my workaround. Using the ~/.ssh/rc file, the xauth parameters are

[Bug 362427] Re: Public key ssh auth doesn't work with my Encrypted Home Directory

2013-06-27 Thread Pieter
The password you log in with, is used to decrypt/unwrap the key used to decrypt the ecryptfs. Would there not be a way of using the ssh secret key, used for login with ssh to also unlock/unwrap the ecryptfs ? Probably something that would have to be added to sshd. -- You received this bug

[Bug 362427] Re: Public key ssh auth doesn't work with my Encrypted Home Directory

2013-06-27 Thread Seth Arnold
Pieter, the private key is never made available in any form to the sshd server. The server only has access to the public portion of the key in ~/.ssh/authorized_keys. You would probably not want a file on the filesystem to serve as the secret key for your encrypted directory, as that defeats the

[Bug 362427] Re: Public key ssh auth doesn't work with my Encrypted Home Directory

2012-08-11 Thread Florian Rathgeber
I don't think the workaround in #12 is practically useful unless you want to disallow password-based logins. The password is needed anyway to unlock the ecryptfs key, so imho typing it in once on first login is way easier than authenticating via public key and then manually unlocking the encrypted

[Bug 362427] Re: Public key ssh auth doesn't work with my Encrypted Home Directory

2012-06-26 Thread Andre
In reply to: https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/362427/comments/12 on /sbin/mount.ecryptfs_private I got the following message: keyctl_search: Required key not available Perhaps try the interactive 'ecryptfs-mount-private' This comment is linked to from

[Bug 362427] Re: Public key ssh auth doesn't work with my Encrypted Home Directory

2012-05-16 Thread H2G
Isn't this the same as https://bugs.launchpad.net/ubuntu/+source/encfs/+bug/319909 ? -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to openssh in Ubuntu. https://bugs.launchpad.net/bugs/362427 Title: Public key ssh auth doesn't work

[Bug 362427] Re: Public key ssh auth doesn't work with my Encrypted Home Directory

2009-08-24 Thread Brendan Long
I had this same problem, but I'm not using encrypted home directories. I did set my home directories permissions to 770 though. Moving the authorized keys to /etc/ssh/%u/authorized_keys worked. Client: Ubuntu 9.04 Server: Ubuntu 9.04 -- Public key ssh auth doesn't work with my Encrypted Home

[Bug 362427] Re: Public key ssh auth doesn't work with my Encrypted Home Directory

2009-04-19 Thread Alexander Kraev
Hi, Dustin! The workaround works. Could you please give me a link to good description of private directory's encryption in Ubuntu, internals and so on. Many thanks, Alex -- Public key ssh auth doesn't work with my Encrypted Home Directory https://bugs.launchpad.net/bugs/362427 You received

[Bug 362427] Re: Public key ssh auth doesn't work with my Encrypted Home Directory

2009-04-19 Thread Alexander Kraev
Strange but auto mount of encrypted private directory has stopped to work. There is only Mount of private directory return code [256] error in auth.log. But I am able to mount manually the private dir after ssh login. -- Public key ssh auth doesn't work with my Encrypted Home Directory

Re: [Bug 362427] Re: Public key ssh auth doesn't work with my Encrypted Home Directory

2009-04-19 Thread Dustin Kirkland
On Sun, Apr 19, 2009 at 2:34 PM, Alexander Kraev alexander.kr...@gmail.com wrote: The workaround works. Could you please give me a link to good description of private directory's encryption in Ubuntu, internals and so on. http://blog.dustinkirkland.com/2009/02/how-encrypted-home-ecryptfs-

[Bug 362427] Re: Public key ssh auth doesn't work with my Encrypted Home Directory

2009-04-17 Thread Alexander Kraev
Thanks, Dustin. Just tried your workaround. But it doesn't work. I steel get the same error. Just for note, there is /sbin/ecryptfs.umount_private, there is /sbin/umount.ecryptfs_private -- Public key ssh auth doesn't work with my Encrypted Home Directory https://bugs.launchpad.net/bugs/362427

[Bug 362427] Re: Public key ssh auth doesn't work with my Encrypted Home Directory

2009-04-17 Thread Alexander Kraev
Thanks, Dustin. Just tried your workaround. But it doesn't work. I steel get the same error. Just for note, there is no /sbin/ecryptfs.umount_private, there is /sbin/umount.ecryptfs_private -- Public key ssh auth doesn't work with my Encrypted Home Directory

Re: [Bug 362427] Re: Public key ssh auth doesn't work with my Encrypted Home Directory

2009-04-17 Thread Dustin Kirkland
Right, sorry, typed the wrong commands. Here is an exact cut-and-paste. I left out a few details in the last one, as it was merely pseudo code. $ /sbin/umount.ecryptfs_private $ cd $HOME $ chmod 700 . $ mkdir -m 700 .ssh $ chmod 500 . $ echo $YOUR_REAL_PUBLIC_KEY .ssh/authorized_keys $