sftp: ubuntu 20 requires keys in legacy format
This commit is contained in:
+2
-1
@@ -11,6 +11,7 @@ var apps = require('./apps.js'),
|
||||
debug = require('debug')('box:sftp'),
|
||||
hat = require('./hat.js'),
|
||||
infra = require('./infra_version.js'),
|
||||
paths = require('./paths.js'),
|
||||
safe = require('safetydance'),
|
||||
shell = require('./shell.js'),
|
||||
volumes = require('./volumes.js'),
|
||||
@@ -110,7 +111,7 @@ function rebuild(callback) {
|
||||
-p 222:22 \
|
||||
${mounts} \
|
||||
-e CLOUDRON_SFTP_TOKEN="${cloudronToken}" \
|
||||
-v "/etc/ssh:/etc/ssh:ro" \
|
||||
-v "${paths.SFTP_KEYS_DIR}:/etc/ssh:ro" \
|
||||
--label isCloudronManaged=true \
|
||||
--read-only -v /tmp -v /run "${tag}"`;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user