aboutsummaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
Diffstat (limited to 'res')
-rw-r--r--res/values/arrays.xml5
-rw-r--r--res/xml/host_prefs.xml10
2 files changed, 14 insertions, 1 deletions
diff --git a/res/values/arrays.xml b/res/values/arrays.xml
index 33622f3..82949f4 100644
--- a/res/values/arrays.xml
+++ b/res/values/arrays.xml
@@ -20,5 +20,10 @@
<item>Use left-side keys</item>
<item>Don't use</item>
</string-array>
+
+ <string-array name="list_pubkeyids">
+ <item value="-2">Do not use keys</item>
+ <item value="-1">Use any unlocked key</item>
+ </string-array>
</resources>
diff --git a/res/xml/host_prefs.xml b/res/xml/host_prefs.xml
index ca1c12b..3d1c51b 100644
--- a/res/xml/host_prefs.xml
+++ b/res/xml/host_prefs.xml
@@ -30,12 +30,20 @@
android:entries="@array/list_colors"
android:entryValues="@array/list_colors"
/>
-
+<!--
<CheckBoxPreference
android:key="usekeys"
android:title="Use SSH keys"
/>
+-->
+ <ListPreference
+ android:key="pubkeyid"
+ android:title="Use Pubkey Auth"
+ android:entries="@array/list_pubkeyids"
+ android:entryValues="@array/list_pubkeyids"
+ />
+
<EditTextPreference
android:key="postlogin"
android:title="Post-login automation"