With GNURoot, we can easily turn our Android Phone into a SSH server.
There are two options,Â openssh-server
apt-get update apt-get install openssh-server #change /etch/ssh/ssd_config Port 22 to Port 2222 /etc/init.d/ssh start
apt-get install dropbear edit /etc/default/dropbear change DROPBEAR_PORT=22 to DROPBEAR_PORT=3322 /etc/init.d/dropbear start
no matter using openssh-server or dropbear, please do not forget setting password for root user,
or you can try ssh without password with the help of SSH private key.
btw, I prefer dropbear,
Dropbear is a relatively small SSH server and client. It runs on a variety of POSIX-based platforms. Dropbear is open source software, distributed under a MIT-style license. Dropbear is particularly useful for “embedded”-type Linux (or other Unix) systems, such as wireless routers.