Public bug reported: I'm running on development version of Jaunty.
It seems that I can't login via ssh with public key because of encryptfs. ssh -v -p 1022 10.0.0.1 shows: ... debug1: SSH2_MSG_SERVICE_ACCEPT received debug1: Authentications that can continue: publickey,password debug1: Next authentication method: publickey debug1: Offering public key: /home/sasha/.ssh/id_dsa debug1: Authentications that can continue: publickey,password debug1: Offering public key: id_dsa debug1: Authentications that can continue: publickey,password debug1: Offering public key: id_dsa debug1: Authentications that can continue: publickey,password debug1: Trying private key: /home/sasha/.ssh/identity debug1: Trying private key: /home/sasha/.ssh/id_rsa debug1: Next authentication method: password cat /var/log/auth.log | grep ssh shows: Apr 16 00:53:58 ubuntu sshd[31597]: pam_sm_authenticate: Called Apr 16 00:53:58 ubuntu sshd[31597]: pam_sm_authenticate: username = [sasha] Apr 16 00:53:58 ubuntu sshd[31597]: Warning: Using default salt value (undefined in ~/.ecryptfsrc) Apr 16 00:54:02 ubuntu sshd[31617]: Passphrase key already in keyring; rc = [1] Apr 16 00:54:02 ubuntu sshd[31617]: ecryptfs_add_passphrase_key_to_keyring: Error adding auth tok with sig [a9a45ab9bd111d61] to the keyring; rc = [1] Apr 16 00:54:02 ubuntu sshd[31617]: Error attempting to add filename encryption key to user session keyring; rc = [1] Apr 16 00:54:03 ubuntu sshd[31617]: Passphrase key already in keyring; rc = [1] Apr 16 00:54:03 ubuntu sshd[31617]: ecryptfs_add_passphrase_key_to_keyring: Error adding auth tok with sig [0be34e5e83e96c4f] to the keyring; rc = [1] Apr 16 00:54:03 ubuntu sshd[31617]: Error attempting to add passphrase key to user session keyring; rc = [1] Apr 16 00:54:03 ubuntu sshd[31617]: There is already a key in the user session keyring for the given passphrase. Apr 16 00:54:03 ubuntu sshd[31597]: Accepted password for sasha from 10.0.0.11 port 58989 ssh2 Apr 16 00:54:03 ubuntu sshd[31597]: pam_unix(sshd:session): session opened for user sasha by (uid=0) Apr 16 00:54:03 ubuntu sshd[31597]: Mount of private directory return code [0] ** Affects: ubuntu Importance: Undecided Status: New ** Description changed: - I'm running in development version of Jaunty. + I'm running on development version of Jaunty. It seems that I can't login via ssh with public key because of encryptfs. ssh -v -p 1022 10.0.0.1 shows: ... debug1: SSH2_MSG_SERVICE_ACCEPT received debug1: Authentications that can continue: publickey,password debug1: Next authentication method: publickey debug1: Offering public key: /home/sasha/.ssh/id_dsa debug1: Authentications that can continue: publickey,password debug1: Offering public key: id_dsa debug1: Authentications that can continue: publickey,password debug1: Offering public key: id_dsa debug1: Authentications that can continue: publickey,password debug1: Trying private key: /home/sasha/.ssh/identity debug1: Trying private key: /home/sasha/.ssh/id_rsa debug1: Next authentication method: password cat /var/log/auth.log | grep ssh shows: Apr 16 00:53:58 ubuntu sshd[31597]: pam_sm_authenticate: Called Apr 16 00:53:58 ubuntu sshd[31597]: pam_sm_authenticate: username = [sasha] Apr 16 00:53:58 ubuntu sshd[31597]: Warning: Using default salt value (undefined in ~/.ecryptfsrc) Apr 16 00:54:02 ubuntu sshd[31617]: Passphrase key already in keyring; rc = [1] Apr 16 00:54:02 ubuntu sshd[31617]: ecryptfs_add_passphrase_key_to_keyring: Error adding auth tok with sig [a9a45ab9bd111d61] to the keyring; rc = [1] Apr 16 00:54:02 ubuntu sshd[31617]: Error attempting to add filename encryption key to user session keyring; rc = [1] Apr 16 00:54:03 ubuntu sshd[31617]: Passphrase key already in keyring; rc = [1] Apr 16 00:54:03 ubuntu sshd[31617]: ecryptfs_add_passphrase_key_to_keyring: Error adding auth tok with sig [0be34e5e83e96c4f] to the keyring; rc = [1] Apr 16 00:54:03 ubuntu sshd[31617]: Error attempting to add passphrase key to user session keyring; rc = [1] Apr 16 00:54:03 ubuntu sshd[31617]: There is already a key in the user session keyring for the given passphrase. Apr 16 00:54:03 ubuntu sshd[31597]: Accepted password for sasha from 10.0.0.11 port 58989 ssh2 Apr 16 00:54:03 ubuntu sshd[31597]: pam_unix(sshd:session): session opened for user sasha by (uid=0) Apr 16 00:54:03 ubuntu sshd[31597]: Mount of private directory return code [0] -- Can't login via ssh with public key because of encryptfs https://bugs.launchpad.net/bugs/361984 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