Skip to content

Uncaught Error: Class "Ssh" not found #66

@John-Henrique

Description

@John-Henrique

I trying use but every time get "class not found" but, why?

<?php
use Spatie\Ssh;
require "vendor/autoload.php";
$process = Ssh::create('user', 'my.server.net');
?>

Ubuntu 22
Nginx
PHP 8.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions