-
Notifications
You must be signed in to change notification settings - Fork 16
Home
yONg edited this page Mar 11, 2019
·
9 revisions
WIP - 32bit, api 21
* sshd
from
https://dorynode.firebaseapp.com/openssh_v7.9p1_arm_release_for_dorynode/ssh
https://dorynode.firebaseapp.com/openssh_v7.9p1_arm_release_for_dorynode/ssh-keygen
https://dorynode.firebaseapp.com/openssh_v7.9p1_arm_release_for_dorynode/scp
https://dorynode.firebaseapp.com/openssh_v7.9p1_arm_release_for_dorynode/sshd
to /data/data/io.tempage.dorynode/files/bin
dory$ touch /data/data/io.tempage.dorynode/files/etc/ssh/sshd_config
dory$ key-gen
dory$ key-gen -A
$ echo -n "password" | openssl sha256 | sed "s/^.* //" > ~/.ssh/doryauth
or
remote$ cat ~/.ssh/id_rsa.pub
to /data/data/io.tempage.dorynode/app_HOME/.ssh/authorized_keys
dory$ /system/bin/whoami # dory's id
dory$ sshd -r -p 2222
remote$ ssh <dory's id>@ip -p 2222
# debug
## sshd -r -p 2222 -ddd -E log
## tail -f log