Our full technical support staff does not monitor this forum. If you need assistance from a member of our staff, please submit your question from the Ask a Question page.


Log in or register to post/reply in the forum.

SFTP “Unable to exchange encryption keys"


adamblewitt Apr 13, 2023 02:38 AM

Currently I am trying to send a file from a CR1000x to a Azure SFTP server. I have setup the system the same as linked here https://www.campbellsci.com.au/blog/generate-sftp-keys-easily, Currently the session fails with error message “Unable to exchange encryption keys”. I can confirm the server credentials and keys are correct as I can connect with a desktop client. I have done some packet capturing and I currently suspect the issue is the CR1000x doesn’t support the same server_key_host_algorithms as the Azure SFTP server. Could this be the issue?

 

CR1000X “server_host_key_algorithms string: ssh-rsa”

AZURE SFTP “server_host_key_algorithms string: rsa-sha2-256,rsa-sha2-512,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384”

The program is simple as I’m testing by sending a static file, below is the FTPClient function I’m using:

FTPResult = FTPClient (FTPServer,FTPUsername,"","CPU:Test.txt","/logger_test_1/Test.txt",22)


RachelElizabeth Apr 14, 2023 07:13 AM

This post is under review.

Log in or register to post/reply in the forum.