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/id_rsa.pub
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 https://github.com/Cabbagec/termux-ohmyzsh/raw/master/install.sh)"
Pablo DC
13 Sep 2020Thanks 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!