h1-mod/deps/curl/tests/data/test632
2024-03-07 00:54:32 -05:00

35 lines
524 B
Plaintext

<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>
--hostpubmd5 00 --key %LOGDIR/server/curl_client_key --pubkey %LOGDIR/server/curl_client_key.pub -u %USER: sftp://%HOSTIP:%NOLISTENPORT%SSH_PWD/%LOGDIR/irrelevant-file --insecure
</command>
</client>
#
# Verify data after the test has been "shot"
<verify>
<errorcode>
2
</errorcode>
</verify>
</testcase>