New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error from JS Client but works from CLI and GUI Apps #459
Comments
This error typically occurs because the remote sftp server you are
trying to connect to does not support any of the default key exchange or
cipher algorithms being used. There are a number of additional key
exchange algorithms and ciphers which can be enabled using the
algorithms property of the connect method. See the ssh2 documentation
for details.
One method I find useful is to use openssh' CLI sftp program, add -vvv
to turn up debugging information and try connecting to the remote
server, The debug information will show you what key exchange algorithm
is being used and which cipher ends up being agreed upon. Once you have
this information, you just need to find out what the ssh2 program calls
those key exchange algorithms and/or ciphers and set them in the
algorithms propety in the connect call.
|
I sure it will fix this bug mscdex/ssh2#1200 For now, on server changing as mentioned here works, but without this Cyberduck macOS and sftp cli works fine |
Well as this is an ssh2 issue, there is nothing I can do as this module uses ssh2. So, until ssh2 is updated, your only option if you want to use this library is to use a different key signing algorithm, such as ssh-ed25519 (this is what I do) or find a different library. |
Error message:
connect: getConnection: All configured authentication methods failed
Config defined
Maybe these fix this bug:
Maybe related issue:
One more resource
The text was updated successfully, but these errors were encountered: