0
0
Fork 0
mirror of https://github.com/atmoz/sftp.git synced 2024-11-17 12:51:33 -05:00
Commit graph

29 commits

Author SHA1 Message Date
Adrian Dvergsdal
c4fd217a7e Backward compatibility with legacy config path 2017-06-25 14:05:22 +02:00
Jason Murray
efa7f88ff2 Move user file to /etc/sftp/ directory
This allows for mounting with ConfigMap or Secrets in Kubernetes
2017-03-08 11:25:40 +01:00
Magnus Tovslid
9c6eb31358 Add empty password to ssh keys 2016-11-15 15:32:03 +01:00
Adrian Dvergsdal
125d105403 Disable password login if password is zero 2016-09-27 23:41:58 +02:00
Adrian Dvergsdal
0549dfa4af Precise grep pattern, skip function instead of exit 2016-09-11 01:05:01 +02:00
Adrian Dvergsdal
8bc91ed283 Group name must begin with letters 2016-09-03 01:02:47 +02:00
Adrian Dvergsdal
d961e18d73 Fix dir for loop 2016-08-12 20:45:21 +02:00
Adrian Dvergsdal
429d8559d2 Create directories and/or set permissions 2016-08-12 16:21:07 +02:00
Adrian Dvergsdal
3042075111 Improved security 2016-07-31 15:36:36 +02:00
Christian Bundy
bda3f0d48e Ignore blank lines in sftp-users.conf 2016-03-28 20:15:39 -07:00
Adrian Dvergsdal
9c63c2d806 Log to stderr (issue #24) 2016-03-28 18:27:16 +02:00
Adrian Dvergsdal
8ffc9c2b6f Generate unique ssh keys for each container (issue #32) 2016-03-28 18:09:23 +02:00
Sergey Galuza
e521b243f4 fixed whitespace 2016-03-24 08:00:48 +03:00
Sergey Galuza
4c3c0608b4 run /etc/sftp.d script each time (even after restarts) 2016-03-24 00:32:26 +03:00
Adrian Dvergsdal
beae8655d9 Simpler subshell 2016-03-17 21:07:49 +01:00
Adrian Dvergsdal
0e8ee2bd40 Source custom scripts, for e.g. mount bind volumes 2015-12-21 01:46:11 +01:00
Adrian Dvergsdal
27939df2ff Minor refactoring of checks 2015-12-21 01:37:42 +01:00
Adrian Dvergsdal
02b5d4d09e Check if folder is missing 2015-12-21 00:55:32 +01:00
Adrian Dvergsdal
c388a4ec68 Do not create users on container restart 2015-12-16 19:41:49 +01:00
Adrian Dvergsdal
55d879419f Bugfix: check return status, not return value 2015-12-16 15:33:12 +01:00
Adrian Dvergsdal
6213664492 Check if STDIN is coming from a pipe or a file
See: http://www.linuxjournal.com/content/working-stdin-and-stdout
2015-12-16 11:54:57 +01:00
Adrian Dvergsdal
8d310f3af0 Add users from STDIN or config file 2015-12-07 10:10:24 +01:00
Adrian Dvergsdal
3c756a9b33 Simple help output 2015-07-25 14:00:24 +02:00
Adrian Dvergsdal
1e506399b9 Checking parameters and showing help 2015-07-25 13:55:33 +02:00
Adrian Dvergsdal
a65979595d Concatenate ssh keys to authorized_keys and set correct permissions 2015-06-03 12:03:55 +02:00
Adrian Dvergsdal
bf86e22d11 Rename variables 2015-01-03 13:10:38 +01:00
Adrian Dvergsdal
0661a5923e Make entrypoint runnable 2014-12-31 16:45:50 +01:00
Adrian Dvergsdal
9ce386d7ae Improved readability 2014-12-31 16:42:09 +01:00
Adrian Dvergsdal
c5ec0cfc3f Rename run to entrypoint 2014-12-31 16:35:46 +01:00
Renamed from run (Browse further)