Skip to content

SSH From Windows Not Working #83

@swartjie

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',
]);

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