Jacques44 / node-red-contrib-bigssh

remote command using ssh big node
Apache License 2.0
8 stars 12 forks source link

added key exchange algo. to configuration #6

Closed vajonam closed 6 years ago

vajonam commented 6 years ago

added ability to specify key exchange algorithm for some SunOS like boxes

Jacques44 commented 6 years ago

Thanks for your contribution

vajonam commented 6 years ago

welcome, how does this make its way to the npm repositories?

Jacques44 commented 6 years ago

It's on the way. I've added password authentication as well. Release should be 1.3.0. Please tell me

Jacques44 commented 6 years ago

Done

vajonam commented 6 years ago

tested it out 1.3.0 looks good. might want to consider moving the password filed in the config under the username, to avoid confusion, my algo changes work well. thanks.

Jacques44 commented 6 years ago

Hello. In fact keys is a best solution for automation instead of pswd. It s a way to encourage the use of key pairs :-)

Le mar. 18 sept. 2018 à 14:35, vajonam notifications@github.com a écrit :

tested it out 1.3.0 looks good. might want to consider moving the password filed in the config under the username, to avoid confusion, my algo changes work well. thanks.

— You are receiving this because you modified the open/close state.

Reply to this email directly, view it on GitHub https://github.com/Jacques44/node-red-contrib-bigssh/pull/6#issuecomment-422373952, or mute the thread https://github.com/notifications/unsubscribe-auth/ARUvMw7wK4ExDo-SKhim0Kjjg_7FSNXOks5ucOh2gaJpZM4WtD4E .

vajonam commented 6 years ago

agreed :-)

On Tue, Sep 18, 2018 at 8:37 AM Jacques W notifications@github.com wrote:

Hello. In fact keys is a best solution for automation instead of pswd. It s a way to encourage the use of key pairs :-)

Le mar. 18 sept. 2018 à 14:35, vajonam notifications@github.com a écrit :

tested it out 1.3.0 looks good. might want to consider moving the password filed in the config under the username, to avoid confusion, my algo changes work well. thanks.

— You are receiving this because you modified the open/close state.

Reply to this email directly, view it on GitHub < https://github.com/Jacques44/node-red-contrib-bigssh/pull/6#issuecomment-422373952 , or mute the thread < https://github.com/notifications/unsubscribe-auth/ARUvMw7wK4ExDo-SKhim0Kjjg_7FSNXOks5ucOh2gaJpZM4WtD4E

.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Jacques44/node-red-contrib-bigssh/pull/6#issuecomment-422374645, or mute the thread https://github.com/notifications/unsubscribe-auth/AAJTtbRkMoyB4Za86Rq2ggZdCjLki8OOks5ucOkGgaJpZM4WtD4E .

mdazmir commented 3 years ago

Hi, I'm using Linux Raspberry with Node-RED and having problem with "KEX Algorithm" when trying to connect to one of my industrial controller. Below are the error from Node-RED with I'm leaving the "Key Exchange Algorithm" blank for node-red-contrib-bigssh: "Error: Handshake failed: no matching key exchange algorithm" "Error: read ECONNRESET"
Below is my troubleshooting results:

Jacques44 commented 3 years ago

Hello. I rely on the ssh2 library. (https://www.npmjs.com/package/ssh2) As I can see you used the password method for your tries so you can use a password too for nodejs If you want to use keys, you should try using terminal also Regards