113498266Sopenharmony_ci<testcase>
213498266Sopenharmony_ci<info>
313498266Sopenharmony_ci<keywords>
413498266Sopenharmony_ciSCP
513498266Sopenharmony_ciserver sha256 key check
613498266Sopenharmony_ci</keywords>
713498266Sopenharmony_ci</info>
813498266Sopenharmony_ci
913498266Sopenharmony_ci#
1013498266Sopenharmony_ci# Server-side
1113498266Sopenharmony_ci<reply>
1213498266Sopenharmony_ci<data>
1313498266Sopenharmony_citest
1413498266Sopenharmony_ci</data>
1513498266Sopenharmony_ci</reply>
1613498266Sopenharmony_ci
1713498266Sopenharmony_ci#
1813498266Sopenharmony_ci# Client-side
1913498266Sopenharmony_ci<client>
2013498266Sopenharmony_ci# so far only the libssh2 backend supports SHA256
2113498266Sopenharmony_ci<features>
2213498266Sopenharmony_cilibssh2
2313498266Sopenharmony_ci</features>
2413498266Sopenharmony_ci<server>
2513498266Sopenharmony_ciscp
2613498266Sopenharmony_ci</server>
2713498266Sopenharmony_ci<name>
2813498266Sopenharmony_ciSCP correct sha256 host key
2913498266Sopenharmony_ci</name>
3013498266Sopenharmony_ci<command>
3113498266Sopenharmony_ci--hostpubsha256 %SSHSRVSHA256 --key %LOGDIR/server/curl_client_key --pubkey %LOGDIR/server/curl_client_key.pub -u %USER: scp://%HOSTIP:%SSHPORT%SSH_PWD/%LOGDIR/file%TESTNUMBER.txt
3213498266Sopenharmony_ci</command>
3313498266Sopenharmony_ci<setenv>
3413498266Sopenharmony_ci# Needed for MSYS2 to not treat the argument as a POSIX path list
3513498266Sopenharmony_ci# that has to be converted to Windows paths
3613498266Sopenharmony_ciMSYS2_ARG_CONV_EXCL=*
3713498266Sopenharmony_ci</setenv>
3813498266Sopenharmony_ci<file name="%LOGDIR/file%TESTNUMBER.txt">
3913498266Sopenharmony_citest
4013498266Sopenharmony_ci</file>
4113498266Sopenharmony_ci</client>
4213498266Sopenharmony_ci
4313498266Sopenharmony_ci#
4413498266Sopenharmony_ci# Verify data after the test has been "shot"
4513498266Sopenharmony_ci<verify>
4613498266Sopenharmony_ci<errorcode>
4713498266Sopenharmony_ci0
4813498266Sopenharmony_ci</errorcode>
4913498266Sopenharmony_ci<valgrind>
5013498266Sopenharmony_cidisable
5113498266Sopenharmony_ci</valgrind>
5213498266Sopenharmony_ci</verify>
5313498266Sopenharmony_ci</testcase>
54