Linux on android (aka termux)

install termux from here

Into termux install Open SSH server, by following commands:

~$ apt-get update
~$ apt upgrade
~$ pkg install openssh termux-auth
~$ passwd
~$ sshd

If you want to use key authentication instead of password, create key pair on client with ssh-keygen and copy the contents of ~/.ssh/ to phone in ~/.ssh/authorized_keys (where Termux’s $HOME is /data/data/com.termux/files/home), and restart server:

grant permission for share data between android and termux

~$ termux-setup-storage
~$ pkill sshd
~$ sshd
~$ ssh <Phone_IP> -p 8022

after you login from you pc into android phone, you can extend your prompt.

~$ sh -c "$(curl -fsSL"

This Post Has One Comment

  1. Thanks Peter! …please can you sahre the Virtua Machine with the SAP Ides installed? Please is very helpfull for me because I´cannot acces to download medias from SAP. Best regards!

Leave a Reply

Close Menu