test632 493 B

12345678910111213141516171819202122232425262728293031323334
  1. <testcase>
  2. <info>
  3. <keywords>
  4. SFTP
  5. FAILURE
  6. server key check
  7. </keywords>
  8. </info>
  9. #
  10. # Client-side
  11. <client>
  12. <server>
  13. none
  14. </server>
  15. <features>
  16. sftp
  17. </features>
  18. <name>
  19. SFTP syntactically invalid host key
  20. </name>
  21. <command>
  22. --hostpubmd5 00 --key curl_client_key --pubkey curl_client_key.pub -u %USER: sftp://%HOSTIP:%NOLISTENPORT%SSH_PWD/log/irrelevant-file --insecure
  23. </command>
  24. </client>
  25. #
  26. # Verify data after the test has been "shot"
  27. <verify>
  28. <errorcode>
  29. 2
  30. </errorcode>
  31. </verify>
  32. </testcase>