2020-02-23 18:37:09 -05:00
|
|
|
<testcase>
|
|
|
|
<info>
|
|
|
|
<keywords>
|
|
|
|
SFTP
|
|
|
|
server key check
|
|
|
|
</keywords>
|
|
|
|
</info>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Server-side
|
|
|
|
<reply>
|
|
|
|
<data>
|
|
|
|
test
|
|
|
|
</data>
|
|
|
|
</reply>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Client-side
|
|
|
|
<client>
|
|
|
|
<server>
|
|
|
|
sftp
|
|
|
|
</server>
|
|
|
|
<name>
|
|
|
|
SFTP correct host key
|
|
|
|
</name>
|
|
|
|
<command>
|
2020-04-26 12:31:00 -04:00
|
|
|
--hostpubmd5 %SSHSRVMD5 --key curl_client_key --pubkey curl_client_key.pub -u %USER: sftp://%HOSTIP:%SSHPORT%SSH_PWD/log/file664.txt
|
2020-02-23 18:37:09 -05:00
|
|
|
</command>
|
|
|
|
<file name="log/file664.txt">
|
|
|
|
test
|
|
|
|
</file>
|
|
|
|
</client>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Verify data after the test has been "shot"
|
|
|
|
<verify>
|
|
|
|
<errorcode>
|
|
|
|
0
|
|
|
|
</errorcode>
|
|
|
|
<valgrind>
|
|
|
|
disable
|
|
|
|
</valgrind>
|
|
|
|
</verify>
|
|
|
|
</testcase>
|