I am trying to open a linode Debian 10 with display. I am connecting to it using a Git Bash on Windows 7.I have tried almost every way I can find, but cannot get rid of this error
debug1: Authentication succeeded (password).
Authenticated to 66.228.51.35 ([66.228.51.35]:22).
debug1: channel 0: new [client-session]
debug1: Requesting no-more-sessions@openssh.com
debug1: Entering interactive session.
debug1: pledge: exec
debug1: client_input_global_request: rtype hostkeys-00@openssh.com want_reply 0
debug1: No xauth program.
Warning: untrusted X11 forwarding setup failed: xauth key data not generated
Linux localhost 4.19.0-16-amd64 #1 SMP Debian 4.19.181-1 (2021-03-19) x86_64
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Mon Jun 21 08:56:56 2021 from 49.36.179.155
root@localhost:~#
I have Xming
on 0.0
. This is my ssh_config
.
# ssh_config(5) man page.
# Host *
ForwardAgent yes
ForwardX11 yes
PasswordAuthentication yes
XAuthLocation /opt/X11/bin/xauth
# HostbasedAuthentication no
# GSSAPIAuthentication no
# GSSAPIDelegateCredentials no
# BatchMode no
# CheckHostIP yes
# AddressFamily any
# ConnectTimeout 0
# StrictHostKeyChecking ask
# IdentityFile ~/.ssh/id_rsa
# IdentityFile ~/.ssh/id_dsa
# IdentityFile ~/.ssh/id_ecdsa
# IdentityFile ~/.ssh/id_ed25519
Port 22
Ciphers aes128-ctr,aes192-ctr,aes256-ctr,aes128-cbc,3des-cbc
# MACs hmac-md5,hmac-sha1,umac-64@openssh.com
# EscapeChar ~
# Tunnel no
# TunnelDevice any:any
# PermitLocalCommand no
# VisualHostKey no
# ProxyCommand ssh -q -W %h:%p gateway.example.com
# RekeyLimit 1G 1h
# Added by git-extra
Ciphers +aes128-cbc,3des-cbc,aes256-cbc,aes192-cbc
It is the same on the server
as well. Don't know what else to do make it work. I am not a bit clear on where to add export DISPLAY
in the bash on Windows..or server?
user@user-PC MINGW64 ~/Desktop
$ which xauth
which: no xauth in (/c/Users/user/bin:/mingw64/bin:/usr/local/bin:/usr/bin:/bin:/mingw64/bin:/usr/bin:/c/Users/user/bin:/c/Program Files (x86)/Microsoft SDKs/Azure/CLI2/wbin:/c/Program Files (x86)/Common Files/Oracle/Java/javapath:/c/Windows/system32:/c/Windows:/c/Windows/System32/Wbem:/c/Windows/System32/WindowsPowerShell/v1.0:/c/geckodriver.exe:/c/Program Files/Java/jre1.8.0_271/bin/java:/cmd:/c/Program Files/wkhtmltopdf:/c/Program Files/Liquid Technologies/Liquid Studio 2021/XmlDataBinder19/Redist19/cpp/win32/bin:/c/Program Files/Liquid Technologies/Liquid Studio 2021/XmlDataBinder19/Redist19/cpp/win64/bin:/c/Users/user/AppData/Local/Programs/Python/Python37/Scripts:/c/Users/user/AppData/Local/Programs/Python/Python37:/c/Program Files/JetBrains/PyCharm Community Edition 2020.3/bin:/c/Users/user/AppData/Local/Programs/Microsoft VS Code/bin:/c/Program Files/poppler-0.68.0/bin:/c/Program Files/wkhtmltopdf:/c/Program Files/gs/gs9.54.0/bin:/c/Program Files/poppler-0.68.0/bin:/usr/bin/vendor_perl:/usr/bin/core_perl)