use sftp
This commit is contained in:
parent
23e6d54867
commit
bd7346b842
6 changed files with 30 additions and 51 deletions
5
rootfs/etc/cont-init.d/02-dhparam
Normal file
5
rootfs/etc/cont-init.d/02-dhparam
Normal file
|
@ -0,0 +1,5 @@
|
|||
#!/usr/bin/with-contenv sh
|
||||
|
||||
if [ ! -f /var/lib/proftp/keys/dhparams.pem ]; then
|
||||
openssl dhparam -outform PEM -5 nbits >> /var/lib/proftp/keys/dhparams.pem
|
||||
fi
|
Loading…
Add table
Add a link
Reference in a new issue