SA-MP Server Starts Up By PHP Great!... But...
#9

Quote:
Originally Posted by AustinJ
Посмотреть сообщение
PHP код:
$connection ssh2_connect('***'22);
if(
ssh2_auth_password($connection'***''***'))
{
    echo 
"Authentication Accepted.";
}
else
{
    echo 
"Authentication Denied.";
}
$stream ssh2_exec($connection'mkdir Testing'); 
I get "Authentication Accepted" when the page is executed but the directory isn't made.
Hmm are you sure the ssh user you login with is allowed to create new directorys in that place?
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)