Remote-ftp: package.json: set ssh2 dependency to ^0.5 to enable ECDSA/ECDH support

Created on 13 Aug 2016  路  4Comments  路  Source: icetee/remote-ftp

https://github.com/mscdex/ssh2/wiki/Changes-from-0.4.x-to-0.5.x

  • Support for ECDH for key exchange (node v0.12+).
  • Support for ECDSA keys (both for server host keys and private keys for user authentication) (node v5.2.0+).

In our /etc/ssh/sshd_config (OpenSSH on Ubuntu 16.04 server) we have:
HostKey /etc/ssh/ssh_host_ecdsa_key
# generated with ssh-keygen -t ecdsa -b 521 -N "" -o -f /etc/ssh/ssh_host_ecdsa_key

KexAlgorithms ecdh-sha2-nistp521
Ciphers [email protected],[email protected]
MACs [email protected]

enhancement

All 4 comments

But https://github.com/mgrenier/remote-ftp/pull/325 could be still a problem. (I don't know.)

(Only) With the latest stable Atom, I am able to connect to my server, if
i change ssh2 to "^0.5" in ~/.atom/packages/Remote-FTP/package.json,
run "apm install" in that folder (to load ssh2 0.5.0),
set hosthash to sha1 in .ftpconfig,
and change my sshd_config to "MACs [email protected],hmac-sha2-512".

I tried to set ssh2 to *, but then "apm install" wont load anything (=no 0.5.0)

Atom : 1.9.8
Electron: 0.37.8
Chrome : 49.0.2623.75
Node : 5.10.0

Hey I'll have a look and see what I can do.

Just to let you know it may take a while as I will need to setup some tests to make sure that this does not recreate the issue #325

@TerraX-net This should work now in 0.9.2. As ssh2 has dependency has been set to ^0.5

Was this page helpful?
0 / 5 - 0 ratings

Related issues

JamesCoyle picture JamesCoyle  路  7Comments

tweed picture tweed  路  7Comments

querysol picture querysol  路  7Comments

AlienFX picture AlienFX  路  6Comments

xabispacebiker picture xabispacebiker  路  5Comments