Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/nextcloudpi.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorDaniel Röhrig <12596513+danielroehrig@users.noreply.github.com>2019-02-06 03:20:11 +0300
committernachoparker <nacho@ownyourbits.com>2019-02-06 03:20:11 +0300
commit8f84daf6908dad1f659ff5fab8c3debd23e4a958 (patch)
tree805246aa42f34aff8a382f229ac5eaf0ab9f25b2 /etc
parent4edbae169b5d8f5058dfc426610645a167ee2c10 (diff)
nc-rsync: choose ssh port other than 22 (#564) (#793)
Diffstat (limited to 'etc')
-rw-r--r--etc/ncp-config.d/nc-rsync-auto.cfg6
-rw-r--r--etc/ncp-config.d/nc-rsync.cfg6
2 files changed, 12 insertions, 0 deletions
diff --git a/etc/ncp-config.d/nc-rsync-auto.cfg b/etc/ncp-config.d/nc-rsync-auto.cfg
index fb8f426a..59f0f519 100644
--- a/etc/ncp-config.d/nc-rsync-auto.cfg
+++ b/etc/ncp-config.d/nc-rsync-auto.cfg
@@ -19,6 +19,12 @@
"suggest": "user@ip:/path/to/sync"
},
{
+ "id": "PORTNUMBER",
+ "name": "SSH port number",
+ "value": "22",
+ "suggest": "22"
+ },
+ {
"id": "SYNCDAYS",
"name": "Sync days",
"value": "3",
diff --git a/etc/ncp-config.d/nc-rsync.cfg b/etc/ncp-config.d/nc-rsync.cfg
index 5a937bc7..0604656a 100644
--- a/etc/ncp-config.d/nc-rsync.cfg
+++ b/etc/ncp-config.d/nc-rsync.cfg
@@ -11,6 +11,12 @@
"name": "Destination",
"value": "user@ip:/path/to/sync",
"suggest": "user@ip:/path/to/sync"
+ },
+ {
+ "id": "PORTNUMBER",
+ "name": "SSH port number",
+ "value": "22",
+ "suggest": "22"
}
]
}