2014-12-17 23:38:39 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
|
|
|
|
<CheckBoxPreference
|
|
|
|
android:key="onboot"
|
2014-12-17 23:52:22 +00:00
|
|
|
android:title="Start on Boot"
|
2014-12-17 23:38:39 +00:00
|
|
|
android:defaultValue="false" />
|
2016-10-16 18:47:16 +00:00
|
|
|
<CheckBoxPreference
|
|
|
|
android:key="foreground"
|
2016-10-16 19:07:34 +00:00
|
|
|
android:title="Foreground Service"
|
2016-10-16 18:47:16 +00:00
|
|
|
android:summary="Enable a notification while running, and run with more priority (especially in Doze mode)."
|
|
|
|
android:defaultValue="true" />
|
2016-10-16 19:54:06 +00:00
|
|
|
<CheckBoxPreference
|
|
|
|
android:key="onopen"
|
|
|
|
android:title="Start on Open"
|
2018-05-16 20:24:41 +00:00
|
|
|
android:summary="Start the service when the app is launched (and quit app when stopping service)."
|
2016-10-16 19:54:06 +00:00
|
|
|
android:defaultValue="false" />
|
2014-12-17 23:38:39 +00:00
|
|
|
<EditTextPreference
|
|
|
|
android:key="port"
|
2014-12-17 23:52:22 +00:00
|
|
|
android:title="Port Number"
|
|
|
|
android:summary="Must be greater than 1024."
|
2014-12-17 23:38:39 +00:00
|
|
|
android:numeric="integer"
|
|
|
|
android:defaultValue="2222" />
|
|
|
|
<EditTextPreference
|
|
|
|
android:key="path"
|
2014-12-17 23:52:22 +00:00
|
|
|
android:title="SSH Path"
|
|
|
|
android:summary="Location of misc dropbear files (put authorized_keys here)."
|
2014-12-17 23:38:39 +00:00
|
|
|
android:defaultValue="/sdcard/ssh" />
|
|
|
|
<EditTextPreference
|
|
|
|
android:key="shell"
|
2014-12-17 23:52:22 +00:00
|
|
|
android:title="Login Shell"
|
2018-05-16 20:24:41 +00:00
|
|
|
android:summary="Location of sh binary."
|
2014-12-17 23:38:39 +00:00
|
|
|
android:defaultValue="/system/bin/sh" />
|
2015-06-20 17:52:34 +00:00
|
|
|
<CheckBoxPreference
|
|
|
|
android:key="rsyncbuffer"
|
|
|
|
android:title="Buffer hack for rsync+SuperSU"
|
|
|
|
android:defaultValue="false" />
|
2014-12-17 23:38:39 +00:00
|
|
|
<EditTextPreference
|
|
|
|
android:key="home"
|
2014-12-17 23:52:22 +00:00
|
|
|
android:title="Home Directory"
|
2018-05-16 20:24:41 +00:00
|
|
|
android:summary="Default directory after login (put .profile here)."
|
2014-12-17 23:38:39 +00:00
|
|
|
android:defaultValue="/sdcard/ssh" />
|
|
|
|
<EditTextPreference
|
|
|
|
android:key="extra"
|
2014-12-17 23:52:22 +00:00
|
|
|
android:title="Extra Commandline"
|
2018-05-16 20:24:41 +00:00
|
|
|
android:summary="Commandline options for dropbear server."
|
2014-12-17 23:38:39 +00:00
|
|
|
android:defaultValue="" />
|
2018-05-16 20:23:12 +00:00
|
|
|
<EditTextPreference
|
|
|
|
android:key="env"
|
|
|
|
android:title="Environment Variables"
|
|
|
|
android:summary="Environment variables (one "name=value" per line)."
|
|
|
|
android:defaultValue="" />
|
2014-12-17 23:38:39 +00:00
|
|
|
</PreferenceScreen>
|