Last active
August 4, 2020 21:47
-
-
Save kourbou/58c1886bc1fc8789e2e2f75acbd9266e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @ECHO OFF | |
| start /B "Xming" "C:\Program Files (x86)\Xming\Xming.exe" :0 -multiwindow -clipboard -dpi 108 | |
| set DISPLAY=127.0.0.1:0 | |
| echo Started X server (Xming). | |
| ssh my-host | |
| if errorlevel 1 pause |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Host my-host | |
| HostName my-host | |
| User username | |
| IdentityFile ~/.ssh/id_rsa | |
| Compression yes | |
| ForwardX11 yes | |
| ForwardX11Trusted yes | |
| SendEnv DISPLAY yes |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment