Issue - n8n Docker container crash - SSH to Windows machine

As often happens, ask on the internet and the solution becomes apparent. A solution at least - if it’s the n8n/npm library that’s causing the problem, just bypass it. I managed to do the same by using a temporary code node to generate SSH keys in the docker container and then used those keys in a (permanent) code node to connect to the windows host.
Just need to make sure those keys are not transient in docker now - make them a volume on the docker host I think.

1 Like

Hi same error i using n8n docker and ruing .ps1 file but getting error

code signal stdout stderr
1 [null] [empty] Access is denied.

My command like this
ommand

powershell -NoProfile -ExecutionPolicy Bypass -File “D:\\Scripts\\Test.ps1” -UserId {{$json.username}}

Working Directory

{{D:\\Scripts\}}

[empty]