0

I am able to connect to SFTP server using WinSCP successfully. However, when trying with Jmeter using SSH SFTP with the below information, getting "Algorithm negotiation fail".

  1. Hostname
  2. Port: 22
  3. username
  4. Private key/SSH Key File in openSSH format (with extension as .key/.pem)
  5. Action: get
  6. Path: target path enter image description here
JMeter_User
  • 203
  • 3
  • 17

1 Answers1

1

It might be the case your SSH server is using an algorithm which is not supported by Java

To be 100% sure you need to try connecting to your SSH server using JSR223 Sampler and increase JSCH logging verbosity in Groovy code.

Most probably you will need to download and install Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy Files and then your connection should be successful.

Dmitri T
  • 159,985
  • 5
  • 83
  • 133