| <?xml version="1.0" encoding="US-ASCII"?> |
| <testcase> |
| <info> |
| <keywords> |
| SFTP |
| FAILURE |
| server key check |
| </keywords> |
| </info> |
| |
| # Client-side |
| <client> |
| <features> |
| sftp |
| </features> |
| <name> |
| SFTP syntactically invalid host key |
| </name> |
| <command> |
| --hostpubmd5 00 --key %LOGDIR/server/curl_client_key --pubkey %LOGDIR/server/curl_client_key.pub -u %USER: sftp://%HOSTIP:%NOLISTENPORT%SFTP_PWD/%LOGDIR/irrelevant-file --insecure |
| </command> |
| </client> |
| |
| # Verify data after the test has been "shot" |
| <verify> |
| <errorcode> |
| 2 |
| </errorcode> |
| </verify> |
| </testcase> |