I am getting that same error "Server response does not contain SSH protocol identification".
My program sends a file, and pulls a file at certain times (sends a file at 3 a.m., pulls a file at 8 a.m.)
What is puzzling is that the error seems to happen randomly.
Also, when I attempt to re-run the program to send file that failed before, it then works.
Similarly, sometimes the pulling of the file fails, and I re-attempt, then it works.
Sometimes, when I re-attempt it fails, the later the automated program runs, and it works.
What could be causing this apparent random error????
My program sends a file, and pulls a file at certain times (sends a file at 3 a.m., pulls a file at 8 a.m.)
What is puzzling is that the error seems to happen randomly.
Also, when I attempt to re-run the program to send file that failed before, it then works.
Similarly, sometimes the pulling of the file fails, and I re-attempt, then it works.
Sometimes, when I re-attempt it fails, the later the automated program runs, and it works.
What could be causing this apparent random error????