sftp: ubuntu 20 requires keys in legacy format

This commit is contained in:
Girish Ramakrishnan
2020-11-26 11:45:43 -08:00
parent f4762be58b
commit 976f072ef4
4 changed files with 18 additions and 2 deletions
+2 -1
View File
@@ -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}"`;