atmoz / sftp

Securely share your files
https://hub.docker.com/r/atmoz/sftp/
MIT License
1.67k stars 832 forks source link

Cisco IOS archive SFTP Error message #315

Open amarey2022 opened 2 years ago

amarey2022 commented 2 years ago

Hi I found this error message popup every time to backup cisco Switch IOS 16.x version to sftp with all atmoz/sftps version

%SSH-3-NO_MATCH: No matching kex algorithm found: client diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1 server curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512,diffie-hellman-group14-sha256

Thanks Amr

Lkdipeolu commented 1 year ago

I have same problem when trying to use ansible. That is the solution round this?

Lkdipeolu commented 1 year ago

I tried ssh -o KexAlgorithms=diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1 username@remotehost it worked but I don't know how to make the command automatic. I tried .ssh/config method, it did not work.