You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the Bug
The ssh key generation documentation has gotten a little out of date. ssh-keygen no longer defaults to outputting RSA, but our version of ssh2 doesn't support newer algorithms. Also, the docs in config.hjson is even older and also needs updating. We should update the docs and look at updating ssh2 as well.
To Reproduce
Follow the docs to run ssh-keygen.
Expected Behavior
Enigma starts normally.
Actual Behavior
xavious@toejam:~/enigma-bbs$ ./main.js
Error initializing: Error: Cannot parse privateKey: Unsupported key format
at new Server (/home/xavious/enigma-bbs/node_modules/ssh2/lib/server.js:247:15)
at SSHServerModule.createServer (/home/xavious/enigma-bbs/core/servers/login/ssh.js:396:23)
at /home/xavious/enigma-bbs/core/listening_server.js:39:36
at /home/xavious/enigma-bbs/core/module_util.js:120:28
at loaded (/home/xavious/enigma-bbs/core/module_util.js:93:20)
at loadModuleEx (/home/xavious/enigma-bbs/core/module_util.js:76:12)
at loadModule (/home/xavious/enigma-bbs/core/module_util.js:90:5)
at /home/xavious/enigma-bbs/core/module_util.js:111:17
at /home/xavious/enigma-bbs/node_modules/async/dist/async.js:2588:44
at eachOfArrayLike (/home/xavious/enigma-bbs/node_modules/async/dist/async.js:506:13)
Error initializing: Error: Cannot parse privateKey: Unsupported key format
at new Server (/home/xavious/enigma-bbs/node_modules/ssh2/lib/server.js:247:15)
at SSHServerModule.createServer (/home/xavious/enigma-bbs/core/servers/login/ssh.js:396:23)
at /home/xavious/enigma-bbs/core/listening_server.js:39:36
at /home/xavious/enigma-bbs/core/module_util.js:120:28
at loaded (/home/xavious/enigma-bbs/core/module_util.js:93:20)
at loadModuleEx (/home/xavious/enigma-bbs/core/module_util.js:76:12)
at loadModule (/home/xavious/enigma-bbs/core/module_util.js:90:5)
at /home/xavious/enigma-bbs/core/module_util.js:111:17
at /home/xavious/enigma-bbs/node_modules/async/dist/async.js:2588:44
at eachOfArrayLike (/home/xavious/enigma-bbs/node_modules/async/dist/async.js:506:13)
xavious@toejam:~/enigma-bbs$
Environment
N/A
The text was updated successfully, but these errors were encountered:
The documentation has been updated, as well as an update to the ssh2 library in PR #515. The updated ssh2 does support ECDSA, however we still don't want to use it (in most cases) because some old ssh clients like Netrunner don't like it still.
Describe the Bug
The ssh key generation documentation has gotten a little out of date. ssh-keygen no longer defaults to outputting RSA, but our version of ssh2 doesn't support newer algorithms. Also, the docs in config.hjson is even older and also needs updating. We should update the docs and look at updating ssh2 as well.
To Reproduce
Follow the docs to run ssh-keygen.
Expected Behavior
Enigma starts normally.
Actual Behavior
Environment
N/A
The text was updated successfully, but these errors were encountered: