diff options
author | 2014-03-10 20:16:41 +0000 | |
---|---|---|
committer | 2014-03-10 20:16:41 +0000 | |
commit | 0fef5e83b050d89b77fd38689e347ae933032114 (patch) | |
tree | bd125dac0c5dcafe785772ab088d49843d550695 /doc/bugs/id__95__rsa_on_android.mdwn | |
parent | 1896e82dc092561ceaecd62770ab4cef1f138254 (diff) |
Diffstat (limited to 'doc/bugs/id__95__rsa_on_android.mdwn')
-rw-r--r-- | doc/bugs/id__95__rsa_on_android.mdwn | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/doc/bugs/id__95__rsa_on_android.mdwn b/doc/bugs/id__95__rsa_on_android.mdwn new file mode 100644 index 000000000..07983869e --- /dev/null +++ b/doc/bugs/id__95__rsa_on_android.mdwn @@ -0,0 +1,31 @@ +### Please describe the problem. + +I generated id_rsa and id_rsa.pub from the android shell. +After copying the id_rsa.pub file on my server, ssh on android complains because id_rsa permissions on the phone are too open (660). +Chmod 600 id_rsa on /sdcard/git-annex.home/.ssh/id_rsa has no effect, i.e. permissions remain 660. + +### What steps will reproduce the problem? +use ssh-keygen to generate keys, default location is /sdcard/git-annex.home/.ssh/ +copy id_rsa.pub on ssh server, try to connect from android to ssh server. + + +### What version of git-annex are you using? On what operating system? +latest git-annex.apk (2014-03-06) on android 4.4.2 + +### Please provide any additional information below. + + +root@android:/ # /data/data/ga.androidterm/runshell +Falling back to hardcoded app location; cannot find expected files in /data/app-lib + +root@android:/sdcard/git-annex.home # ssh MYSERVERIP -p PORT -l USERNAME + +@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ +@ WARNING: UNPROTECTED PRIVATE KEY FILE! @ +@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ +Permissions 0660 for '/sdcard/git-annex.home/.ssh/id_rsa' are too open. +It is required that your private key files are NOT accessible by others. +This private key will be ignored. +bad permissions: ignore key: /sdcard/git-annex.home/.ssh/id_rsa + + |