21.09.2011, 03:26
I have tried ssh2 but it never works... Here is my code for that...
EDIT: I have ssh2 installed. Here is a picture off my php info file.
PHP код:
$connection = ssh2_connect('***', 22);
ssh2_auth_password($connection, '***', '***');
ssh2_exec($connection, 'cd /***/ ; ./samp03svr &');