I try to run SSH connection in my application and I get this error:
Call to undefined function App\Http\Controllers\Admin\ssh2_connect()
Controller
public function save(Request $request){
        $ip = $request->input('server_ip');
        $sshUser= $request->input('server_ssh_user');
        $sshPw = $request->input('server_ssh_password');
        $sshConnection = ssh2_connect($ip, 22);
        //rest of the code which doesn't execute as result of line above returns error
Any idea?