2008-06-19 08:18:58 +08:00
|
|
|
<testcase>
|
|
|
|
<info>
|
|
|
|
<keywords>
|
|
|
|
SFTP
|
|
|
|
FAILURE
|
|
|
|
server key check
|
|
|
|
</keywords>
|
|
|
|
</info>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Client-side
|
|
|
|
<client>
|
|
|
|
<server>
|
|
|
|
none
|
|
|
|
</server>
|
|
|
|
<features>
|
|
|
|
sftp
|
|
|
|
</features>
|
|
|
|
<name>
|
|
|
|
SFTP syntactically invalid host key
|
|
|
|
</name>
|
|
|
|
<command>
|
2020-04-27 00:31:00 +08:00
|
|
|
--hostpubmd5 00 --key curl_client_key --pubkey curl_client_key.pub -u %USER: sftp://%HOSTIP:%NOLISTENPORT%SSH_PWD/log/irrelevant-file --insecure
|
2008-06-19 08:18:58 +08:00
|
|
|
</command>
|
|
|
|
</client>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Verify data after the test has been "shot"
|
|
|
|
<verify>
|
|
|
|
<errorcode>
|
|
|
|
2
|
|
|
|
</errorcode>
|
|
|
|
</verify>
|
|
|
|
</testcase>
|