Project

General

Profile

Actions

Issue #1805

closed

Ship a functional sshd_config

Added by Denis 'GNUtoo' Carikli over 4 years ago. Updated almost 3 years ago.

Status:
Rejected
Priority:
Normal
Category:
Website and wiki content
Target version:
Start date:
05/19/2017
Due date:
% Done:

0%

Estimated time:
Spent time:
Resolution:
Device:
Grant:
Type of work:

Description

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

results in:
$ 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):

HostKey /data/ssh/ssh_host_dsa_key

results in sshd starting fine.

Actions

Also available in: Atom PDF