I want to ssh to a Linux device in Windows with X11 forwarding using OpenSSH. I've installed the xming server running on DISPLAY=:0 and set the environment variable using my powershell profile and system environment variables, all works fine with PuTTy.
But I want to ssh with X11 using the built-in OpenSSH, accessible via PowerShell and Command Prompt, not PuTTy. Any ideas on how to get this working?
So far I can ssh with the -X flag, but once authenticated - the error returned is...
ssh -X -Y root@jh-lenovo-lap1
Warning: No xauth data; using fake authentication data for X11 forwarding.