Re: Dropbear ssh tunneling segfault

2018-03-21 Thread Matt Johnston
I suspect selinux is blocking something, after dropbear forks to run the shell. Can you find where selinux keeps its logs? When you run 'su' it enters a less restrictive context than normal root, so it runs ok. I guess you need to create a selinux policy for the dropbear service - i don't have

Re: Dropbear ssh tunneling segfault

2018-03-21 Thread Hayk Beglaryan
Dear Matt, Thanks for fast reply. [1] Yes I run dropbear from adb shell and it’s works correctly. My steps are followings: $ adb connect [device ip] $ adb shell # su # dropbear -E -R [2] Please find requested logfile1.txt attached. [3] Running "ssh -i

Dropbear ssh tunneling segfault

2018-03-21 Thread Hayk Beglaryan
Hello, I'm an android developer and we are trying to make a ssh tunneling between Android device and Linux Host. I'm using dropbear for this solution. Here is my steps: 1) I'm connecting to my host via dbclient with 0 port dbclient -i "$RSA_KEY" -f -N -R 0:localhost:22 "$HOST" -y &>