Transfering Information Across Servers
Posted: Fri Jul 05, 2002 2:14 pm
I've written a script that pulls all the information from one database one server one to a new server and into database two in order to back-up information on my server and transfer some functions to a new host machine. The script is running on machine number one... My issue has to deal with the fact that shh2 has been turned on on the second machine thus my script can log into server number two however it can not locate the database number two on server two. I contacted my technical support staff where server number two is located and they suggested the following:
You could have the script open an ssh2 to connection to the other server and send the connection through a port forward.
I've looked at php.net for help and honestly don't understand how to write the code or what exactly what I'm suppose to do. Can anyone help???
Thank you
You could have the script open an ssh2 to connection to the other server and send the connection through a port forward.
I've looked at php.net for help and honestly don't understand how to write the code or what exactly what I'm suppose to do. Can anyone help???
Thank you