Skip to content

Instantly share code, notes, and snippets.

@tenomoto
Created October 21, 2020 04:52
Show Gist options
  • Save tenomoto/b7743f5470554a89e4a79af69dba118a to your computer and use it in GitHub Desktop.
Save tenomoto/b7743f5470554a89e4a79af69dba118a to your computer and use it in GitHub Desktop.
X11 forwarding from Windows 10 OpenSSH client in PowerShell
# Add the following in $profile
# OpenSSH-Win64 installed in Program Files
#$env:PATH += "$env:ProgramFiles/OpenSSH-Win64;"
# Windows 10 OpenSSH client
$env:PATH += "$env:SystemRoot/System32/OpenSSH;"
# X11
$env:DISPLAY = "localhost:0.0"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment