Skip to content

[Bug]: SSH command fails when multiple sites are installed on the same server #984

@yasirnaeem786

Description

@yasirnaeem786

Installation Type *

VPS

Vito Version *

3.18.0

Describe the Bug *

When installing multiple sites on the same server using Vito, SSH commands fail for existing sites after a new site is deployed.

Specifically, after installing a new site, running SSH-based commands (such as worker commands) on previously installed sites results in the following error:

SSH command failed with an error

This issue occurs even though the server and sites were previously working correctly.

Steps to Reproduce *

Create a server using Vito

Install a Laravel site on the server

Configure a worker and run:

php artisan horizon

✅ Works correctly

Install another site on the same server (e.g. a React app)

Go back to the Laravel site

Try running the worker command again:

php artisan horizon

The command fails and returns:

SSH command failed with an error

Expected Behavior *

Installing a new site on the same server should not break SSH access or command execution for existing sites.

Each site should remain isolated and fully functional after additional sites are installed.

Logs *

SSH command failed with an error

Screenshots

Screen.Recording.2026-01-02.at.11.14.48.PM.mov

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions