OpenSSH in Windows Terminal open in the same directory
Hi, I'm using WinSCP v6.3.1. I want to use OpenSSH in Windows Terminal and open it in the same directory. I followed this article (https://winscp.net/eng/docs/integration_putty#wt). However, it seems that the command there can't treat paths with spaces. The path seems to be truncated after the first space. I tried
i.e. adding single quotes. But it still doesn't work.
"C:\Users\Arsci\AppData\Local\Microsoft\WindowsApps\Microsoft.WindowsTerminalPreview_8wekyb3d8bbwe\wt.exe" -w 0 ssh.exe !U@!@ -p !# -t "cd '!/' \; /bin/bash --login"