I can't seem to ssh into my Android device. I have not rooted the device and I don't really want to. I tried connecting to it via the terminal using the following command:
ssh root@ip-address:port-number
the error I received was:
name or service is not known
How can I resolve it?
ssh <user>@<ip> -p <port>
instead of the "colon syntax". Then, you can define a port (default: 2222) and password in SSHDroid's "options". To connect, according to the screenshots on the app's playstore page, you can use any username with that password. Thus, e.g.ssh me@<android-ip> -p 2222
should do the job.