1
0
mirror of http://galexander.org/git/simplesshd.git synced 2024-12-29 09:28:07 +00:00
Commit Graph

235 Commits

Author SHA1 Message Date
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
Greg Alexander
a134f5c9d9 re-order version history so newest is on top 2016-08-28 10:18:11 -04:00
Greg Alexander
e8c2b8594c whoops, missed a pre tag 2016-08-28 10:14:42 -04:00
Greg Alexander
9584be0f11 slightly better mobilization 2016-08-28 10:11:56 -04:00
Greg Alexander
9392ce73a8 make documentation HandheldFriendly 2016-08-28 09:55:39 -04:00
Greg Alexander
59509132cf bump to 1.11 2016-08-08 14:18:55 -04:00
Greg Alexander
60fcaa6ec9 When reading data from various spots in /proc to initialize the random
number generator:
 * reduce timeout from 2s to 1ms
 * if timeout, abort
 * only read first 4096 bytes
this is to work around the fact that on Samsung Tab 4, /proc/timer_list
is apparently 167MB!
2016-08-08 14:08:49 -04:00
Greg Alexander
3d9a5b5ced bump to version 1.10 2016-07-22 09:04:46 -04:00
Greg Alexander
3eca9d014b enable TCP port forwarding 2016-07-22 09:03:52 -04:00
Greg Alexander
5aefdf3c11 bump to version 1.9 2016-07-04 20:42:45 -04:00
Greg Alexander
73d4406ee1 automatically restart sshd if the system kills it (or it crashes). but
don't restart it if it dies twice within 10 seconds.
only access sshd_pid (et al) from a few select spots now, with proper
synchronization.
2016-07-04 20:37:54 -04:00
Greg Alexander
2aeae24aed whoops, doc was nonsense, what is a "64-bit file"? 2016-06-21 21:40:29 -04:00
Greg Alexander
f49ef0c918 bump to version 1.8 2016-06-21 21:26:42 -04:00
Greg Alexander
7907d9949b tested... 2016-06-21 21:25:24 -04:00
Greg Alexander
41bdcb1b97 scp is now 64-bit capable as well, i think 2016-06-21 21:24:37 -04:00
Greg Alexander
277234865a now sftp is also 64-bit 2016-06-21 21:14:00 -04:00
Greg Alexander
8fb3ece145 turns out all rsync was missing for 64-bit files was
#define HAVE_STRUCT_STAT64 1
2016-06-21 09:18:39 -04:00
Greg Alexander
62dbd9c5aa 64-bit files todo list 2016-06-20 21:41:08 -04:00