From a4c7911a48dadb4f68ba6b38bb1bf3f061b747f6 Mon Sep 17 00:00:00 2001 From: Kamil Dudka Date: Tue, 14 Aug 2018 12:47:18 +0200 Subject: ssh-libssh: fix infinite connect loop on invalid private key Added test 656 (based on test 604) to verify the fix. Bug: https://bugzilla.redhat.com/1595135 Closes #2879 --- tests/data/test656 | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 tests/data/test656 (limited to 'tests/data/test656') diff --git a/tests/data/test656 b/tests/data/test656 new file mode 100644 index 000000000..4107d3d17 --- /dev/null +++ b/tests/data/test656 @@ -0,0 +1,33 @@ + + + +SFTP +FAILURE + + + +# +# Client-side + + +sftp + + +SFTP retrieval with nonexistent private key file + + +--key DOES_NOT_EXIST --pubkey curl_client_key.pub -u %USER: sftp://%HOSTIP:%SSHPORT%PWD/not-a-valid-file-moooo --insecure --connect-timeout 8 + + + +# +# Verify data after the test has been "shot" + + +disable + + +67 + + + -- cgit v1.2.3