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?