Skip to content

Unable to connect to remote server for previously connected servers #97

@hasfoug

Description

@hasfoug

Forge CLI Version

1.8.0, 1.8.3

PHP Version

8.4.5

Description

I have 9 servers in forge and face some weird behavior with forge CLI tool - I just can not connect to some servers.

It only connects once I delete SSH key from server and do ssh:configure. I can then connect once, but once i disconnect and try to connect back i can again see this error:

Unable to connect to remote server. Maybe run [ssh:configure] to configure an SSH Key?

Sometimes it works consistently though, but then I can not connect to the previously connected servers.

Overall it just feels like there some some or limit for connected servers and once you add more one of the previous ones is getting removed!

Pls let me know what other details I can provide in order to find the root of the issue.

Steps To Reproduce

  1. Configure ssh for multiple servers (it feels like i started experiencing this once i've got more than 5 servers)
  2. Try to connect to all of them one by one
  3. At some point you should get following error: Unable to connect to remote server. Maybe run [ssh:configure] to configure an SSH Key?

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