-
Notifications
You must be signed in to change notification settings - Fork 2.5k
sftp - outbound transfer test doesn't work for embedded server #355
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
It is not clear why do you need to change that test for something what is not supposed to be for that test? |
Hi, ok, maybe I was not very clear. i didn't change anything in the unit test itself. just updated user.properties file. I want to run the outbound transfer test for an environment, when I don't have any SSH service/deamon. the update of sftp_known_host file, is just a 2nd trial, but no success... what do you mean that you didn't change anything? |
There is no logic in that test to run against real SFTP server: it always starts an embedded one. I think for the real server (for now), you have to do this changes into
|
well, according to README the port defines, if the transfer is for real server or for the embedded one. Any idea what's wrong then? |
If you are intended to test it against embedded server, then you must not change any thing in the project. |
It turned out that I changed other files, as well. when I rolled back my changes, the test against the embedded server was working. |
Hi,
I'm in windows 10. the JDK is 17.
The remote outbound file transfer works, but I receive "No more authentication methods available" error, when I try running the SftpOutboundTransferSample.testOutbound unit test.
in user.properties
Additionally I replaced the sftp_known_hosts file with my local machine public key.
Anything else has to change?
The text was updated successfully, but these errors were encountered: