Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Required key not available on encryted phone in ssh session #1099

Open
ccat3z opened this issue Jul 14, 2019 · 2 comments
Open

Required key not available on encryted phone in ssh session #1099

ccat3z opened this issue Jul 14, 2019 · 2 comments

Comments

@ccat3z
Copy link

ccat3z commented Jul 14, 2019

env:

Distribution: Arch Linux
Installation type: Directory
Installation path: ${ENV_DIR}/rootfs/archlinux
Linux Deploy 2.3.0
Android 9 with encrypted ext4
public-key or password ssh login

When I try to write(read is ok) some file in ssh session, I always got:

# echo 1 > file
-bash: file: Required key not available

writing file in cli.sh shell is fine


I found some simliar case in other project.

README of google/fscrypt
ChromiumOS chroot crouton#3261

@Hagb
Copy link

Hagb commented Jul 28, 2019

I read dnschneid/crouton#3860 (comment) and ran sed -i "s/pam_keyinit.so/pam_keyinit.so #/" /etc/pam.d/* . Then the problem seemed solved.

@ginlink
Copy link

ginlink commented Apr 22, 2020

@Hagb Thanks a lot! It works for me!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants