Good afternoon, everybody!
sorry if oftopic
I ask to help with a next problem:
It is Given
1. Linux server
2. WIN server with Apache
3. There is a bat- file(run.bat) on a win- server, approximately next maintenance:
plink.exe - ssh - batch server _ name - l user - pw password - m command _ file
4. Html page in that 'exec' is started run.bat.
<?php
exec('run.bat');
?>
So, actually problem:
Bat- file works correctly, i.e. make connection on Linux and executes a command from command _ file.
And if to load a page, run.bat is executed, but the connection on Linux does not take place.
In the logs of Apache there is an error of kind :
The server's host key is not cached in the registry. you
have no guarantee that the server is the computer you
think it is.
The server's rsa2 key fingerprint is:
ssh - rsa 1024 xx : xx: xx: xx: xx: xx: xx: xx: xx: xx: xx: xx: xx: xx: xx: xx
Connection abandoned.
That is wrong?
Beforehand thankful for structural suggestions
PS Because of some limitations, setting of the additional programs and others soft please don't suggest