This commit is contained in:
parent
6edeacddb0
commit
0d983c4fb2
1 changed files with 31 additions and 0 deletions
31
doc/bugs/id__95__rsa_on_android.mdwn
Normal file
31
doc/bugs/id__95__rsa_on_android.mdwn
Normal file
|
@ -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
|
||||
|
||||
|
Loading…
Reference in a new issue