Thanks for the help. The sftp service has been showing green the entire time. I even tried to restart it but that did not help.
I removed the key files and restarted sftp from the command line. That didn't work either. The log shows that sftp tries to start but immediately crashes and it tries several times before giving up.
Here's a bunch of the sftp service log.
SFTP
Apr 24 17:04:14 Node.js v18.12.1
Apr 24 17:04:14 at Module._compile (node:internal/modules/cjs/loader:1159:14)
Apr 24 17:04:14 at Module._compile (node:internal/modules/cjs/loader:1159:14)
Apr 24 17:04:14 at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)
Apr 24 17:04:14 at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)
Apr 24 17:04:14 at Module._load (node:internal/modules/cjs/loader:878:12)
Apr 24 17:04:14 at Module.load (node:internal/modules/cjs/loader:1037:32)
Apr 24 17:04:14 at Module.require (node:internal/modules/cjs/loader:1061:19)
Apr 24 17:04:14 at Object.<anonymous> (/app/code/filemanager/node_modules/bl/bl.js:36:1)
Apr 24 17:04:14 at Object.<anonymous> (/app/code/filemanager/node_modules/tar-stream/extract.js:2:10)
Apr 24 17:04:14 at require (node:internal/modules/cjs/helpers:103:18)
Apr 24 17:04:15 2023-04-24 22:04:15,727 INFO success: filemanager entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
Apr 24 17:04:15 2023-04-24 22:04:15,728 INFO exited: filemanager (exit status 1; not expected)
Apr 24 17:04:16 /app/code/filemanager/node_modules/bl/bl.js:36
Apr 24 17:04:16 2023-04-24 22:04:16,731 INFO spawned: 'filemanager' with pid 230
Apr 24 17:04:16 Node.js v18.12.1
Apr 24 17:04:16 TypeError: inherits is not a function
Apr 24 17:04:16 ^
Apr 24 17:04:16 at Module._compile (node:internal/modules/cjs/loader:1159:14)
Apr 24 17:04:16 at Module._compile (node:internal/modules/cjs/loader:1159:14)
Apr 24 17:04:16 at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)
Apr 24 17:04:16 at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)
Apr 24 17:04:16 at Module._load (node:internal/modules/cjs/loader:878:12)
Apr 24 17:04:16 at Module.load (node:internal/modules/cjs/loader:1037:32)
Apr 24 17:04:16 at Module.require (node:internal/modules/cjs/loader:1061:19)
Apr 24 17:04:16 at Object.<anonymous> (/app/code/filemanager/node_modules/bl/bl.js:36:1)
Apr 24 17:04:16 at Object.<anonymous> (/app/code/filemanager/node_modules/tar-stream/extract.js:2:10)
Apr 24 17:04:16 at require (node:internal/modules/cjs/helpers:103:18)
Apr 24 17:04:16 inherits(BufferListStream, DuplexStream)
Apr 24 17:04:17 2023-04-24 22:04:17,885 INFO exited: filemanager (exit status 1; not expected)
Apr 24 17:04:17 2023-04-24 22:04:17,885 INFO success: filemanager entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
Apr 24 17:04:18 2023-04-24 22:04:18,888 INFO spawned: 'filemanager' with pid 237
Apr 24 17:04:19 /app/code/filemanager/node_modules/bl/bl.js:36
Apr 24 17:04:19 2023-04-24 22:04:19,021 INFO exited: filemanager (exit status 1; not expected)
Apr 24 17:04:19 Node.js v18.12.1
Apr 24 17:04:19 TypeError: inherits is not a function
Apr 24 17:04:19 ^
Apr 24 17:04:19 at Module._compile (node:internal/modules/cjs/loader:1159:14)
Apr 24 17:04:19 at Module._compile (node:internal/modules/cjs/loader:1159:14)
Apr 24 17:04:19 at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)
Apr 24 17:04:19 at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)
Apr 24 17:04:19 at Module._load (node:internal/modules/cjs/loader:878:12)
Apr 24 17:04:19 at Module.load (node:internal/modules/cjs/loader:1037:32)
Apr 24 17:04:19 at Module.require (node:internal/modules/cjs/loader:1061:19)
Apr 24 17:04:19 at Object.<anonymous> (/app/code/filemanager/node_modules/bl/bl.js:36:1)
Apr 24 17:04:19 at Object.<anonymous> (/app/code/filemanager/node_modules/tar-stream/extract.js:2:10)
Apr 24 17:04:19 at require (node:internal/modules/cjs/helpers:103:18)
Apr 24 17:04:19 inherits(BufferListStream, DuplexStream)
/app/code/filemanager/node_modules/bl/bl.js:36
Apr 24 17:04:20 2023-04-24 22:04:20,025 INFO spawned: 'filemanager' with pid 244
Apr 24 17:04:20 2023-04-24 22:04:20,218 INFO exited: filemanager (exit status 1; not expected)
Apr 24 17:04:20 Node.js v18.12.1
Apr 24 17:04:20 TypeError: inherits is not a function
Apr 24 17:04:20 ^
Apr 24 17:04:20 at Module._compile (node:internal/modules/cjs/loader:1159:14)
Apr 24 17:04:20 at Module._compile (node:internal/modules/cjs/loader:1159:14)
Apr 24 17:04:20 at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)
Apr 24 17:04:20 at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)
Apr 24 17:04:20 at Module._load (node:internal/modules/cjs/loader:878:12)
Apr 24 17:04:20 at Module.load (node:internal/modules/cjs/loader:1037:32)
Apr 24 17:04:20 at Module.require (node:internal/modules/cjs/loader:1061:19)
Apr 24 17:04:20 at Object.<anonymous> (/app/code/filemanager/node_modules/bl/bl.js:36:1)
Apr 24 17:04:20 at Object.<anonymous> (/app/code/filemanager/node_modules/tar-stream/extract.js:2:10)
Apr 24 17:04:20 at require (node:internal/modules/cjs/helpers:103:18)
Apr 24 17:04:20 inherits(BufferListStream, DuplexStream)
Apr 24 17:04:22 /app/code/filemanager/node_modules/bl/bl.js:36
Apr 24 17:04:22 2023-04-24 22:04:22,222 INFO spawned: 'filemanager' with pid 251
Apr 24 17:04:22 2023-04-24 22:04:22,353 INFO exited: filemanager (exit status 1; not expected)
Apr 24 17:04:22 Node.js v18.12.1
Apr 24 17:04:22 TypeError: inherits is not a function
Apr 24 17:04:22 ^
Apr 24 17:04:22 at Module._compile (node:internal/modules/cjs/loader:1159:14)
Apr 24 17:04:22 at Module._compile (node:internal/modules/cjs/loader:1159:14)
Apr 24 17:04:22 at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)
Apr 24 17:04:22 at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)
Apr 24 17:04:22 at Module._load (node:internal/modules/cjs/loader:878:12)
Apr 24 17:04:22 at Module.load (node:internal/modules/cjs/loader:1037:32)
Apr 24 17:04:22 at Module.require (node:internal/modules/cjs/loader:1061:19)
Apr 24 17:04:22 at Object.<anonymous> (/app/code/filemanager/node_modules/bl/bl.js:36:1)
Apr 24 17:04:22 at Object.<anonymous> (/app/code/filemanager/node_modules/tar-stream/extract.js:2:10)
Apr 24 17:04:22 at require (node:internal/modules/cjs/helpers:103:18)
Apr 24 17:04:22 inherits(BufferListStream, DuplexStream)
Apr 24 17:04:25 /app/code/filemanager/node_modules/bl/bl.js:36
Apr 24 17:04:25 2023-04-24 22:04:25,358 INFO spawned: 'filemanager' with pid 258
Apr 24 17:04:25 2023-04-24 22:04:25,525 INFO exited: filemanager (exit status 1; not expected)
Apr 24 17:04:25 Node.js v18.12.1
Apr 24 17:04:25 TypeError: inherits is not a function
Apr 24 17:04:25 ^
Apr 24 17:04:25 at Module._compile (node:internal/modules/cjs/loader:1159:14)
Apr 24 17:04:25 at Module._compile (node:internal/modules/cjs/loader:1159:14)
Apr 24 17:04:25 at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)
Apr 24 17:04:25 at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)
Apr 24 17:04:25 at Module._load (node:internal/modules/cjs/loader:878:12)
Apr 24 17:04:25 at Module.load (node:internal/modules/cjs/loader:1037:32)
Apr 24 17:04:25 at Module.require (node:internal/modules/cjs/loader:1061:19)
Apr 24 17:04:25 at Object.<anonymous> (/app/code/filemanager/node_modules/bl/bl.js:36:1)
Apr 24 17:04:25 at Object.<anonymous> (/app/code/filemanager/node_modules/tar-stream/extract.js:2:10)
Apr 24 17:04:25 at require (node:internal/modules/cjs/helpers:103:18)
Apr 24 17:04:25 inherits(BufferListStream, DuplexStream)
Apr 24 17:04:26 2023-04-24 22:04:26,526 INFO gave up: filemanager entered FATAL state, too many start retries too quickly