[Bug 362427] Re: Public key ssh auth doesn't work in Jaunty

2009-04-16 Thread Andreas Olsson
Okej, sorry, I guess I didn't read the logs as carefully as I should
have.

Anyhow, I'm rather sure your encrypted home directory is the reason why
you can't use public key ssh auth. Considering that encryptfs decrypts
your home directory, using your login password, at login time. Hence,
when you'r trying to auth using your ssh key there really isn't any
~/.ssh/authorized_keys available for sshd to check against.

That said, I'm sure we can agree that it isn't a bug in openssh?

Marking this bug report as invalid.

** Changed in: openssh (Ubuntu)
   Status: Incomplete = Invalid

-- 
Public key ssh auth doesn't work in Jaunty
https://bugs.launchpad.net/bugs/362427
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to openssh in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 362427] Re: Public key ssh auth doesn't work in Jaunty

2009-04-16 Thread Alexander Kraev
Hmm.. Well, sound like it's not a bug.  Thank you for explanation!

But are there any solution or workaround to use public key auth with
encrypted home dir?

-- 
Public key ssh auth doesn't work in Jaunty
https://bugs.launchpad.net/bugs/362427
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to openssh in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 362427] Re: Public key ssh auth doesn't work in Jaunty

2009-04-16 Thread Alexander Kraev
I think it's a bug, but not related to openssh.

I fixed the issue by adding this to sshd_config:
AuthorizedKeysFile  /etc/.ssh/%u/authorized_keys

-- 
Public key ssh auth doesn't work in Jaunty
https://bugs.launchpad.net/bugs/362427
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to openssh in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 362427] Re: Public key ssh auth doesn't work in Jaunty

2009-04-16 Thread Andreas Olsson
Okej, sorry, I guess I didn't read the logs as carefully as I should
have.

Anyhow, I'm rather sure your encrypted home directory is the reason why
you can't use public key ssh auth. Considering that encryptfs decrypts
your home directory, using your login password, at login time. Hence,
when you'r trying to auth using your ssh key there really isn't any
~/.ssh/authorized_keys available for sshd to check against.

That said, I'm sure we can agree that it isn't a bug in openssh?

Marking this bug report as invalid.

** Changed in: openssh (Ubuntu)
   Status: Incomplete = Invalid

-- 
Public key ssh auth doesn't work in Jaunty
https://bugs.launchpad.net/bugs/362427
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 362427] Re: Public key ssh auth doesn't work in Jaunty

2009-04-16 Thread Alexander Kraev
Hmm.. Well, sound like it's not a bug.  Thank you for explanation!

But are there any solution or workaround to use public key auth with
encrypted home dir?

-- 
Public key ssh auth doesn't work in Jaunty
https://bugs.launchpad.net/bugs/362427
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 362427] Re: Public key ssh auth doesn't work in Jaunty

2009-04-16 Thread Alexander Kraev
I think it's a bug, but not related to openssh.

I fixed the issue by adding this to sshd_config:
AuthorizedKeysFile  /etc/.ssh/%u/authorized_keys

-- 
Public key ssh auth doesn't work in Jaunty
https://bugs.launchpad.net/bugs/362427
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs