Initial port of openssh to android

Operation instructions:
    start from init.rc using start-ssh script
    Add your public key to /data/ssh/authorized_keys
    login with "ssh shell@<ip address>" from another computer on same network

Change-Id: I1085a8b2f2766d4a2a4a70ffaf0352b07c261281
Signed-off-by: Mike Lockwood <lockwood@google.com>
20 files changed
tree: c62a60fd316e4812ce6ca453efad71733e668df0
  1. contrib/
  2. openbsd-compat/
  3. regress/
  4. aclocal.m4
  5. acss.c
  6. acss.h
  7. addrmatch.c
  8. Android.mk
  9. atomicio.c
  10. atomicio.h
  11. audit-bsm.c
  12. audit-linux.c
  13. audit.c
  14. audit.h
  15. auth-bsdauth.c
  16. auth-chall.c
  17. auth-krb5.c
  18. auth-options.c
  19. auth-options.h
  20. auth-pam.c
  21. auth-pam.h
  22. auth-passwd.c
  23. auth-rh-rsa.c
  24. auth-rhosts.c
  25. auth-rsa.c
  26. auth-shadow.c
  27. auth-sia.c
  28. auth-sia.h
  29. auth-skey.c
  30. auth.c
  31. auth.h
  32. auth1.c
  33. auth2-chall.c
  34. auth2-gss.c
  35. auth2-hostbased.c
  36. auth2-jpake.c
  37. auth2-kbdint.c
  38. auth2-none.c
  39. auth2-passwd.c
  40. auth2-pubkey.c
  41. auth2.c
  42. authfd.c
  43. authfd.h
  44. authfile.c
  45. authfile.h
  46. bufaux.c
  47. bufbn.c
  48. bufec.c
  49. buffer.c
  50. buffer.h
  51. buildpkg.sh.in
  52. canohost.c
  53. canohost.h
  54. ChangeLog
  55. channels.c
  56. channels.h
  57. cipher-3des1.c
  58. cipher-acss.c
  59. cipher-aes.c
  60. cipher-bf1.c
  61. cipher-ctr.c
  62. cipher.c
  63. cipher.h
  64. cleanup.c
  65. clientloop.c
  66. clientloop.h
  67. compat.c
  68. compat.h
  69. compress.c
  70. compress.h
  71. config.guess
  72. config.h
  73. config.h.in
  74. config.sub
  75. configure
  76. configure.ac
  77. crc32.c
  78. crc32.h
  79. CREDITS
  80. deattack.c
  81. deattack.h
  82. defines.h
  83. dh.c
  84. dh.h
  85. dispatch.c
  86. dispatch.h
  87. dns.c
  88. dns.h
  89. entropy.c
  90. entropy.h
  91. fatal.c
  92. fixpaths
  93. fixprogs
  94. groupaccess.c
  95. groupaccess.h
  96. gss-genr.c
  97. gss-serv-krb5.c
  98. gss-serv.c
  99. hostfile.c
  100. hostfile.h
  101. includes.h
  102. INSTALL
  103. install-sh
  104. jpake.c
  105. jpake.h
  106. kex.c
  107. kex.h
  108. kexdh.c
  109. kexdhc.c
  110. kexdhs.c
  111. kexecdh.c
  112. kexecdhc.c
  113. kexecdhs.c
  114. kexgex.c
  115. kexgexc.c
  116. kexgexs.c
  117. key.c
  118. key.h
  119. LICENCE
  120. log.c
  121. log.h
  122. loginrec.c
  123. loginrec.h
  124. logintest.c
  125. mac.c
  126. mac.h
  127. Makefile.in
  128. match.c
  129. match.h
  130. md-sha256.c
  131. md5crypt.c
  132. md5crypt.h
  133. mdoc2man.awk
  134. misc.c
  135. misc.h
  136. mkinstalldirs
  137. moduli
  138. moduli.0
  139. moduli.5
  140. moduli.c
  141. monitor.c
  142. monitor.h
  143. monitor_fdpass.c
  144. monitor_fdpass.h
  145. monitor_mm.c
  146. monitor_mm.h
  147. monitor_wrap.c
  148. monitor_wrap.h
  149. msg.c
  150. msg.h
  151. mux.c
  152. myproposal.h
  153. nchan.c
  154. nchan.ms
  155. nchan2.ms
  156. openssh.xml.in
  157. opensshd.init.in
  158. OVERVIEW
  159. packet.c
  160. packet.h
  161. pathnames.h
  162. pkcs11.h
  163. platform.c
  164. platform.h
  165. progressmeter.c
  166. progressmeter.h
  167. PROTOCOL
  168. PROTOCOL.agent
  169. PROTOCOL.certkeys
  170. PROTOCOL.mux
  171. readconf.c
  172. readconf.h
  173. README
  174. README.dns
  175. README.platform
  176. README.privsep
  177. README.tun
  178. readpass.c
  179. rijndael.c
  180. rijndael.h
  181. roaming.h
  182. roaming_client.c
  183. roaming_common.c
  184. roaming_dummy.c
  185. roaming_serv.c
  186. rsa.c
  187. rsa.h
  188. sandbox-darwin.c
  189. sandbox-null.c
  190. sandbox-rlimit.c
  191. sandbox-systrace.c
  192. schnorr.c
  193. schnorr.h
  194. scp.0
  195. scp.1
  196. scp.c
  197. servconf.c
  198. servconf.h
  199. serverloop.c
  200. serverloop.h
  201. session.c
  202. session.h
  203. sftp-client.c
  204. sftp-client.h
  205. sftp-common.c
  206. sftp-common.h
  207. sftp-glob.c
  208. sftp-server-main.c
  209. sftp-server.0
  210. sftp-server.8
  211. sftp-server.c
  212. sftp.0
  213. sftp.1
  214. sftp.c
  215. sftp.h
  216. ssh-add.0
  217. ssh-add.1
  218. ssh-add.c
  219. ssh-agent.0
  220. ssh-agent.1
  221. ssh-agent.c
  222. ssh-dss.c
  223. ssh-ecdsa.c
  224. ssh-gss.h
  225. ssh-keygen.0
  226. ssh-keygen.1
  227. ssh-keygen.c
  228. ssh-keyscan.0
  229. ssh-keyscan.1
  230. ssh-keyscan.c
  231. ssh-keysign.0
  232. ssh-keysign.8
  233. ssh-keysign.c
  234. ssh-pkcs11-client.c
  235. ssh-pkcs11-helper.0
  236. ssh-pkcs11-helper.8
  237. ssh-pkcs11-helper.c
  238. ssh-pkcs11.c
  239. ssh-pkcs11.h
  240. ssh-rsa.c
  241. ssh-sandbox.h
  242. ssh.0
  243. ssh.1
  244. ssh.c
  245. ssh.h
  246. ssh1.h
  247. ssh2.h
  248. ssh_config
  249. ssh_config.0
  250. ssh_config.5
  251. sshconnect.c
  252. sshconnect.h
  253. sshconnect1.c
  254. sshconnect2.c
  255. sshd.0
  256. sshd.8
  257. sshd.c
  258. sshd_config
  259. sshd_config.0
  260. sshd_config.5
  261. sshd_config.android
  262. sshlogin.c
  263. sshlogin.h
  264. sshpty.c
  265. sshpty.h
  266. sshtty.c
  267. start-ssh
  268. survey.sh.in
  269. TODO
  270. ttymodes.c
  271. ttymodes.h
  272. uidswap.c
  273. uidswap.h
  274. umac.c
  275. umac.h
  276. uuencode.c
  277. uuencode.h
  278. version.h
  279. xmalloc.c
  280. xmalloc.h