How to generate SSH keys using node-ssh
As of version v13.1.0, node-ssh does not support generating SSH keys by its own.
However, you can use the ssh2 library which is already used internally by node-ssh.
See our post How to generate SSH public & private key in NodeJS using ssh2 library for more details.
Check out similar posts by category:
NodeJS
If this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow