- Code: Select all
$con = ssh2_connect('crm.idea.com.bd','4321');
ssh2_auth_password($con, 'username', 'password');
$response = ssh2_exec($con, 'pwd');
I can connect to that server using that username, password and port address. But when I load this script it don't work. It shows loading and loading continues. No error message is given.
N: B: Please help me. I am a newbie.