xref: /curl/tests/data/test664 (revision 3fd80c7b)
1<testcase>
2<info>
3<keywords>
4SFTP
5server key check
6</keywords>
7</info>
8
9#
10# Server-side
11<reply>
12<data>
13test
14</data>
15</reply>
16
17#
18# Client-side
19<client>
20<server>
21sftp
22</server>
23<name>
24SFTP correct host key
25</name>
26<command>
27--hostpubmd5 %SSHSRVMD5 --key %LOGDIR/server/curl_client_key --pubkey %LOGDIR/server/curl_client_key.pub -u %USER: sftp://%HOSTIP:%SSHPORT%SSH_PWD/%LOGDIR/file%TESTNUMBER.txt
28</command>
29<file name="%LOGDIR/file%TESTNUMBER.txt">
30test
31</file>
32</client>
33
34#
35# Verify data after the test has been "shot"
36<verify>
37<errorcode>
380
39</errorcode>
40<valgrind>
41disable
42</valgrind>
43</verify>
44</testcase>
45