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