I`ve tried to install ssh ssh-server and ssh-client in linux on dex , but there seems something wrong with the ssh when i tried to connect to dex on linux in my computer .
get the ip address in terminal using ifconfig
then i tried :
dextop@localhost:~$ ps |grep ssh
dextop@localhost:~$ sudo /etc/init.d/ssh start
[sudo] password for dextop:
* Starting OpenBSD Secure Shell server sshd [ OK ]
dextop@localhost:~$ ps |grep ssh
dextop@localhost:~$
it seem`s ssh was not running.
Is that we can`t enable the port22 due to the Android limit ?
Is there any way to connect to linux on dex by ssh?
If ssh works well in linux on dex , that may help develop a lot!
Port 22 can’t be used in android
Linux on Dex is executing a container version of Ubuntu. The container cannot open privileged ports which is any port lower than 1000.
You can connect to linux on Dex by SSH.
Maybe the tutorial help you.
Reference: https://ilconnettivo.wordpress.com/2019/05/17/how-to-ssh-into-samsungs-linux-on-dex/
The original thread is HERE