Monday, November 20, 2017

install ssh, telnet server on android device

1- install  icecoldapps.sshserver

$ adb install icecoldapps.sshserver.apk

2- on android device, open the app  and add telnet server  and user

then  start the added server

3- if using usb debugger , we can forward the port with command below

$  adb forward tcp:36267 tcp:36267 

then we can telnet to it
 $ telnet localhost  36267 

------ when access to ssh server might get the message below
Unable to negotiate with port 52804: no matching host key type found. Their offer: ssh-dss

to remote use the command below
$ ssh -oHostKeyAlgorithms=+ssh-dss -l test localhost -p 52804

then if you wnat to uninstall we can also uninstall from adb

-with confirmation

$ adb shell pm uninstall -k package:com.icecoldapps.sshserver

or without

$ adb shell pm uninstall org.onaips.vnc

1 comment:

  1. Wow what a Great Information about World Day its very nice informative post. thanks for the post. Action Link Wireless