You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Failed to connect to hostname: could not settle on kex algorithm
Server kex preferences: diffie-hellman-group1-sha1,diffie-hellman-group-exchange-sha1
Client kex preferences: ecdh-sha2-nistp521,ecdh-sha2-nistp384,ecdh-sha2-nistp256,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha1
Is it possible to use any of these Server preferences kex algorithms instead?
Is there any way to define Net::SFTP to use local ssh config?
The text was updated successfully, but these errors were encountered:
@raychiranjib1 , the Net::SFTP documentation says that you can use any Net::SSH option. According to VALID_OPTIONS in the Net::SSH documentation, :kex is included as one you can provide.
SFTP connection failed using Net::SFTP client. But it's working with Filezilla and sftp command.
sftp -i ~/.ssh/private_key.pub -P 16321 -oKexAlgorithms=diffie-hellman-group1-sha1 -c aes128-cbc user@host
Code Example:
Output:
Is it possible to use any of these Server preferences kex algorithms instead?
Is there any way to define Net::SFTP to use local ssh config?
The text was updated successfully, but these errors were encountered: