Ship a functional sshd_config
After generating the SSH keys with:
$ adb shell "/system/bin/ssh-keygen -A"
Using the stock sshd_config with:
$ adb pull /etc/ssh/sshd_config $ adb push sshd_config /data/ssh/sshd_config
$ adb shell "/system/bin/sshd" Could not load host key: /data/ssh/ssh_host_dsa_key
Commenting the following line in that configuration (and re-launching sshd):
results in sshd starting fine.
Updated by Denis 'GNUtoo' Carikli about 2 years ago
- Category set to 171
- Target version set to Replicant 6.0
Also update the tutorial (https://redmine.replicant.us/projects/replicant/wiki/SSH) when the issue is fixed.