mirror of
http://galexander.org/git/simplesshd.git
synced 2024-11-27 09:48:08 +00:00
document new buffer hack
This commit is contained in:
parent
a916ac5c08
commit
8a62f1fa9f
@ -40,10 +40,21 @@ too.
|
|||||||
|
|
||||||
<p>Next is the path to the login shell. The default Android shell is
|
<p>Next is the path to the login shell. The default Android shell is
|
||||||
<tt>/system/bin/sh</tt>, but you may prefer to use the one that comes with
|
<tt>/system/bin/sh</tt>, but you may prefer to use the one that comes with
|
||||||
busybox or whatever.</p>
|
busybox or whatever. If you set it to the su binary (i.e.,
|
||||||
|
<tt>/system/xbin/su</tt>), then scp, sftp, and
|
||||||
|
rsync will run as root and should be able to access files
|
||||||
|
outside of the sdcard.</p>
|
||||||
|
|
||||||
<p>Finally is the path for the home directory, which also defaults to
|
<p>A bug in SuperSU interacts with an infelicity in rsync to cause an
|
||||||
<tt>/sdcard/ssh</tt>. This is where your ssh session starts out, and is
|
occasional deadlock. This is a real pain because I use SuperSU+rsync
|
||||||
|
for system-wide backups, which will always eventually trigger the
|
||||||
|
deadlock. To work around this, there is a "Buffer hack" option that
|
||||||
|
should be enabled if you use rsync with SuperSU. It adds a miniscule
|
||||||
|
overhead to rsync, but isn't harmful even if you aren't using
|
||||||
|
SuperSU.</p>
|
||||||
|
|
||||||
|
<p>Finally, there is the path for the home directory, which also defaults
|
||||||
|
to <tt>/sdcard/ssh</tt>. This is where your ssh session starts out, and is
|
||||||
where <tt>.profile</tt> will be found if it is present.</p>
|
where <tt>.profile</tt> will be found if it is present.</p>
|
||||||
|
|
||||||
<p>There is also a place where you can put commandline options for
|
<p>There is also a place where you can put commandline options for
|
||||||
|
Loading…
Reference in New Issue
Block a user