Replies: 2 comments
-
I changed the function getExecuteCommand to return this and works
but its only a test. |
Beta Was this translation helpful? Give feedback.
0 replies
-
I ended up forking this and adding a shim in getExecuteCommand, it's on Packagist so if you want to use it then Source is over at https://github.com/PerryRylance/ssh |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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',
]);
Beta Was this translation helpful? Give feedback.
All reactions