billchurch / webssh2

Web SSH Client using ssh2, socket.io, xterm.js, and express. webssh webssh2
MIT License
2.26k stars 527 forks source link

How to add support for ssh key algorithm ed25519 #324

Closed nareshblu closed 10 months ago

billchurch commented 1 year ago

It should work as long as you're using node 12.x+. You would add this to the algorithms section in config.json. Are you seeing something different?

nareshblu commented 1 year ago

It should work as long as you're using node 12.x+. You would add this to the algorithms section in config.json. Are you seeing something different?

I am using node v4.9.1. I am not sure what should be the kex and cipher values I have to add in config.json.

billchurch commented 1 year ago

They would be the same as openssh conf. Whatever the settings are in your openssh conf

Also, you just have Node v12 or above for this to work. If you're on Node v4, it will not.