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
Greg Alexander
b1abefd7c7
strike Authorized Keys from todo list
2016-06-19 17:47:44 -04:00
Greg Alexander
d4c46fcc1e
mark version 1.7
2016-06-19 16:58:17 -04:00
Greg Alexander
b16e201adc
minor doc touch-up
2016-06-19 16:56:07 -04:00
Greg Alexander
d5e3632326
document new "Authorized Keys" feature
2016-06-19 16:53:04 -04:00
Greg Alexander
4eecabf241
and now it works, even will create a new ssh directory from scratch
2016-06-19 16:45:18 -04:00
Greg Alexander
31fd0b37d0
now it compiles
2016-06-19 16:12:19 -04:00
Greg Alexander
84f9f31c14
first draft of new authorized_keys creation activity and support threads
2016-06-19 15:44:44 -04:00
Greg Alexander
65d628499b
beginning framework for authorized keys editor
2016-06-18 16:47:53 -04:00
Greg Alexander
f74a71fdd4
cast away the const on DROPBEAR_PIDFILE to get rid of the last warning.
...
that's it for warnings.
2016-06-18 16:06:10 -04:00
Greg Alexander
2a7b7465fa
remove -Wall on just the dropbear component, because the coding style for
...
dropbear is sloppy enough that we would require a bunch of changes, and
that would just complicate future merges.
2016-06-18 16:02:02 -04:00
Greg Alexander
d63844f60e
surprisingly, they were actually harmless because ndk builds with
...
--gc-sections, which eliminates unused code and thus obviates the
undefined symbol
2016-06-18 15:59:06 -04:00
Greg Alexander
b67401eae7
sprinkle some includes of sftp.h so cleanup_exit() is prototyped when needed
2016-06-18 15:58:39 -04:00
Greg Alexander
1e81227bd2
add unreachable "return" statement to avoid warning about missing return value
2016-06-18 15:53:05 -04:00
Greg Alexander
dd7e234b7d
prototype cleanup_exit()
2016-06-18 15:38:50 -04:00
Greg Alexander
103812fae8
don't pass localtime() a pointer into struct timespec (within struct
...
stat), because there is no guarantee that its tv_sec will be of type
time_t
2016-06-18 15:37:47 -04:00
Greg Alexander
3bc9394101
add config defines to rsync so it will use mkstemp() instead of mktemp()
...
(fixes link-time warning and possible vulnerability)
2016-06-18 15:33:09 -04:00
Greg Alexander
20e8113f28
build with -Wall
2016-06-18 15:31:29 -04:00
Greg Alexander
3327fc30c9
todo
2016-06-18 15:31:20 -04:00