Newbie needs help

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Newbie needs help

Postby Covax » 15. February 2017 08:30

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
Covax
 
Posts: 1
Joined: 15. February 2017 08:26
XAMPP version: Apache 2.2
Operating System: MS Windows Server 2003

Re: Newbie needs help

Postby Nobbie » 15. February 2017 12:39

Covax wrote:That is wrong?


The forum. Which Xampp installation problem do you have? ssh / plink.exe etc. is not part of Xampp.
Nobbie
 
Posts: 13170
Joined: 09. March 2008 13:04


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 100 guests