SSH Windows Directories

Hi guys,

I’m working with a Windows Server 2019 machine and I want to run an SSH command, SSH has been enabled on the machine, but it keeps saying “The system cannot find the path specified” or “The filename, directory name, or volume label syntax is incorrect.”. I have tried many different combinations, and honestly am a bit of a noob when it comes to this so any guidance would be much appreciated. The command I’m trying to run is pretty much to kill an active process IF present then/else start a new process. So essentially a restart automation.

Much appreciated for any help!


Edit: For record, Windows Server 2019 is the target machine. n8n is running through Docker on a Droplet externally. I’ve also installed the Linux (Ubuntu) subsystem to see if it could help.

Welcome to the community @lefabulousunicorn

Are you sure the command you are running is formed correctly? Can you share the commands that you are trying to use?

You need change your windows openssh server default shell to powershell

1 Like

Thanks! :+1: :+1: :+1: