1
0
mirror of http://galexander.org/git/simplesshd.git synced 2024-11-27 09:48:08 +00:00
Commit Graph

452 Commits

Author SHA1 Message Date
Greg Alexander
b1147a3aef m_free() the temps used for setting the environment 2018-05-16 16:30:28 -04:00
Greg Alexander
d28824b4ca make preferences summary (long text) consistently use periods like they
were sentences
2018-05-16 16:24:41 -04:00
Greg Alexander
3c5b02beb9 change a few places that used malloc to use m_malloc instead *shrug* 2018-05-16 16:23:33 -04:00
Greg Alexander
9efa856065 add option to set environment variables 2018-05-16 16:23:12 -04:00
Greg Alexander
a75d0b0d1c comments from Roland Jaeger 2018-05-16 13:24:39 -04:00
Greg Alexander
43cd46fd0d su is not a login shell, so if it's in the shell's filename, don't put
"-" before argv[0], but do put it in argv[1] because su accepts it as a
regular parameter ("-su" was breaking busybox)
2018-05-16 10:47:17 -04:00
Greg Alexander
ccdb6dd87c update faq 2018-03-24 10:26:04 -04:00
Greg Alexander
ef1a8d2556 bump to version 17 for native x86 support 2018-03-24 10:20:20 -04:00
Greg Alexander
88335f47b6 initial hack to see if building for armeabi and x86 will work for x86_64
phones too
2018-03-21 21:42:19 -04:00
Greg Alexander
6920fd9434 discuss the crashes on the play store, which don't really interest me
apparently
2018-03-04 21:06:01 -05:00
Greg Alexander
6374a8f58a add the BSD license from openssh 6.7p1, to be explicit 2017-12-15 09:48:06 -05:00
Greg Alexander
c72845e535 some TODO from user requests 2017-10-28 16:51:41 -04:00
Greg Alexander
c33d551fc9 tag version 16 for android 8.0 (oreo) fixes 2017-10-28 16:34:51 -04:00
Greg Alexander
d637261fa1 use fchmod() instead of chmod() because Android 8.0 (Oreo) terminates the
process if chmod() is called
2017-10-28 16:27:54 -04:00
Greg Alexander
7b8ce267d9 disable use of sigprocmask() in rsync, because Android Oreo (quite
inappropriately) seems to terminate the process when it is called.
2017-10-28 14:20:35 -04:00
Greg Alexander
6fa541d169 make ant.properties into a symlink so i can keep my password outside of
the repository
2017-10-28 14:07:36 -04:00
Greg Alexander
93704ef925 add GPL license V2 in "COPYING" 2017-09-01 18:34:26 -04:00
Greg Alexander
651ba21816 don't call pty_release() because it always fails, and because we never
pty_setowner()ed in the first place.  never noticed it before because
it's only called if the shell command fails (apparently)
2017-04-30 11:53:20 -04:00
Greg Alexander
beed31bead improve error message when execv()ing the shell fails 2017-04-30 11:51:37 -04:00
Greg Alexander
9ec4493910 add FAQ 2017-02-20 17:05:43 -05:00
Greg Alexander
027ed55c22 add plug for SimpleBusyBox because a few play store reviews asked for busybox 2017-01-24 16:16:26 -05:00
Greg Alexander
3770cc8424 musings about writing to removable external SD card 2016-11-19 12:19:55 -05:00
Greg Alexander
91a81732b3 bump to version 15 2016-10-17 09:59:19 -04:00
Greg Alexander
bf8c204a8c don't include "IP: " in notification string 2016-10-17 09:53:45 -04:00
Greg Alexander
4134decdc3 reduce notification font 2016-10-17 09:48:52 -04:00
Greg Alexander
3ef00eb6a1 now the notification view looks good and has useful information 2016-10-17 09:47:36 -04:00
Greg Alexander
9c7454d222 when launching the sshd service, make sure the /sdcard/ssh path exists,
otherwise we won't be able to access dropbear.err
2016-10-17 09:35:31 -04:00
Greg Alexander
f652b1b3c6 add a contentView to the notification, which is needed at least in
android 5 (and probably earlier)
2016-10-17 09:12:11 -04:00
Greg Alexander
fadb6909cf todone delete authorized_keys 2016-10-16 19:34:39 -04:00
Greg Alexander
f82c42cd6d fix typo in doc 2016-10-16 19:27:54 -04:00
Greg Alexander
33429f5765 tag version 14 2016-10-16 19:22:39 -04:00
Greg Alexander
a42ccd2d16 update document for single use passwords 2016-10-16 19:12:28 -04:00
Greg Alexander
0523529968 replace awkward authorized keys editor with a single "Reset Keys" option
to delete the authorized_keys file and revert to single-use passwords
2016-10-16 19:07:52 -04:00
Greg Alexander
4d888fdd81 fix typo 2016-10-16 18:38:11 -04:00
Greg Alexander
8a9503ac90 improve the formatting of the password message in the log 2016-10-16 18:25:00 -04:00
Greg Alexander
cbee2a1b67 if there is no authorized_keys file, generate a single-use password 2016-10-16 18:17:01 -04:00
Greg Alexander
2f6515d147 figured out how the password login should work 2016-10-16 17:12:11 -04:00
Greg Alexander
f9d2a69900 an idea for an alternative to password logins for bootstrapping 2016-10-16 16:51:41 -04:00
Greg Alexander
e8d38809c7 oops, add the date to the version notes 2016-10-16 16:13:36 -04:00
Greg Alexander
cb5df89b55 bump to version 13 (and switch to a non-hierarchical version numbering) 2016-10-16 16:10:52 -04:00
Greg Alexander
48ab06f047 make the main activity "singleTask" because otherwise it's possible for
two of them to get stacked on top of eachother (one lingering from having
been launched, and another from tapping the notification, for example) in
the same task, and then the back (or QUIT) button won't do anything the
first tiem
2016-10-16 16:09:15 -04:00
Greg Alexander
c9b8494352 add "Start on Open" option that makes the activity start the service, and
stopping the service ends the activity
2016-10-16 15:54:06 -04:00
Greg Alexander
14a9812c85 now if you tap on the notification it goes to the SimpleSSHD main
activity so you can conveniently stop the service
2016-10-16 15:13:22 -04:00
Greg Alexander
34afb9e4f2 more consistent use of caps.. 2016-10-16 15:07:34 -04:00
Greg Alexander
1f921d3041 improve wording 2016-10-16 15:06:27 -04:00
Greg Alexander
260d121a5b clean up Settings portion of documentation, and document foreground mode 2016-10-16 15:04:34 -04:00
Greg Alexander
3da61bfa96 make the foreground service an option 2016-10-16 14:47:16 -04:00
Greg Alexander
484094d064 more musings about keeping it going with doze 2016-10-01 18:08:57 -04:00
Greg Alexander
ae7703fad0 implemented startForeground(), with some reservation 2016-10-01 17:35:41 -04:00
Greg Alexander
a2b14e405c user suggestion for improvemet 2016-09-11 09:35:42 -04:00