Skip to content

SSH From Windows Not Working #83

Closed

Description

@swartjie

Hey Guys,

I am trying to SSH to a linux box from my windows pc.
Using the pvt key works in a ssh terminal, but through the below example, I am getting a general error...

How can I get it to work from a windows pc for development?

$process = Ssh::create('root', 'xx.xx.xx.xx', 22)
->usePrivateKey(storage_path('id_rsa'))
->execute([
'mkdir hello',
'ls -alh',
]);

Activity

  1. locked and limited conversation to collaborators on May 22, 2023
  2. converted this issue into a discussion #84 on May 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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