How To Start SSH Server on Android

| 分类 Android  | 标签 android  ssh 

Repost from

I am trying to login to Android Eee pad transformer from my other linux box using SSH. This are the step i followed and failed. So asking here for the correct answer.

1) Go to Android market and download install Connectbot

  • Launching ConnectBot
  • Asks ssh or telnet or local
  • Press local
  • Asks username
  • Username applied dummy
  • Connected to local Android
  • type ip addr; in the terminal shows ip address and i can ping

enter image description here

2) Now i want to access to this box from outside box

  • Go to Android market and install SSDroid and SuperUser
  • Launch SSDroid
  • SSDroid says root:off, sftp://root@ipOfthisAndroidBox:2222 ready
  • From another box i try to login using ssh root@ipOfthisAndroidBox:2222 fails

enter image description here

3) Launch SuperUser it tries to install something but fails

enter image description here

All i get to verify am i rooted, always it shows:

$ su
su: permission denied

Follow up: How do i login after installing SSHDroid?

[sun@example ~]$ ssh root@94.xx.xx.xx -p 2222
The authenticity of host '[94.xx.xx.xx]:2222 ([94.xx.xx.xx]:2222)' can't be established.
RSA key fingerprint is 14:ae:33:xxxx.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '[94.xx.xx.xx]:2222' (RSA) to the list of known hosts.
Use 'root' on rooted devices otherwise any username works
Default password is 'admin'
root@94.xx.xx.xx's password:
/data/data/ $ uname -a
Linux localhost #1 SMP PREEMPT Wed May 11 22:14:22 CST 2011 armv7l GNU/Linux
/data/data/ $ uptime
 09:20:16 up 2 min, load average: 0.26, 0.25, 0.11

/ $ ls
EeePad_bootup_first_page.rle  acct                          default.prop                  init.ventana.rc               sys
OSD_battery_100.rle           bin                           dev                           mnt                           system
OSD_battery_25.rle            cache                         etc                           proc                          ueventd.goldfish.rc
OSD_battery_50.rle            config                        init                          root                          ueventd.rc
OSD_battery_75.rle            d                             init.goldfish.rc              sbin                          ueventd.ventana.rc
Removable                     data                          init.rc                       sdcard                        vendor

 More informations:

上一篇     下一篇