-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.example
81 lines (80 loc) · 2.23 KB
/
config.example
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
; config file
[defaults]
port = 22
; set a regular expression to match what files to get
;matchregexp = .*
; set a logfile - stdout otherwise
;logfile = /tmp/sftpsyncr.log
lockdir = /tmp/sftpsyncr.lock
; insecureciphers - enable use of weaker cbc ciphers
;insecureciphers = false
; some extra logging
;debug = true
; use an http connect proxy - no auth please
;proxyserver = 192.168.0.100
;proxyport = 8080
;publickeyring = "~/.gnupg/pubring.gpg"
;privatekeyring = "~/.gnupg/secring.gpg"
; enable decryption of files which have the decryptsuffix
;decrypt = false
; hex id of public key - the private key of this keypair is used to decrypt
;decryptkeyid = 3D0A8209
;decryptpassphrase = passphrase
;decryptsuffix = ".pgp"
; enable encryption of all files sent
;encrypt = false
; hex id of public key used to encrypt files
;encryptkeyid = 3D0A8209
;encryptsuffix = ".pgp"
; clean - remove src file after successful push or successful pull
clean = false
; archive - save a copy of the original file before pushing or after pulling
archive = false
; archive location
;archivedir = /tmp/archive
; enable a check for file stability - if file size has changed within stableduration seconds - skip it
;stablesize = false
;stableduration = 60
# config file
[profile "example"]
server = 192.168.0.1
username = luser
password = password
port = 22
;matchregexp = .*
localdir = /media/sf_scratch/sync/example
remotedir = remote
logfile = /media/sf_scratch/sync/sftpsyncr-example.log
lockdir = /media/sf_scratch/sync/sftpsyncr-example.lock
; enable the use of cbc ciphers
insecureciphers = true
;debug = false
;proxyserver = 192.168.0.100
;proxyport = 8080
publickeyring = "/home/luser/.gnupg/pubring.gpg"
privatekeyring = "/home/luser/.gnupg/secring.gpg"
;encrypt = false
;encryptkeyid = 9A85A5B8
;encryptsuffix = ".gpg"
debug = true
clean = false
archive = true
archivedir = /media/sf_scratch/sync/archive
stablesize = false
stableduration = 120
emailfailure = false
emailsuccess = false
emailto = luser@example.com
emailfrom = luser@example.com
emailhost = localhost
emailport = 25
;
decrypt = true
decryptregexp = ".gpg|.PGP|.pgp|.asc"
; decryption keys
; first key
decryptkeyid = EC4F3B5C
decryptpassphrase = passphrase
; second key
decryptkeyid = 368CB885
decryptpassphrase = passphrase