I have set up wsl-ssh-pageant (https://github.com/benpye/wsl-ssh-pageant) which works when I run an
sshcommand in the terminal, but I'm getting permission denied (publickey), if I try to use the same command via WinSCP.
What could be causing the issue?
This is the command which works when running it in the terminal but not when configured in WinSCP:
cmd.exe /c start "" "%LOCALAPPDATA%\Microsoft\WindowsApps\wt.exe" ssh !U@!@ -p !#