Posts Tagged ‘X11 forwarding request failed on channel 0’
I had no problem with this:
ssh -l paul_lenovo 192.168.1.101
-l (small L) logs the listed computer as a trusted computer, and we only have to do this once (per remote machine, per local machine).
though to log-out I used “logout” not “~.”
ssh -v remote_account_name@remote_ip_address
ssh -v -X remote_account_name@remote_ip_address
gave me an error:
X11 forwarding request failed on channel 0
This turned out to be because IPv6 was disabled:
$ sysctl net.ipv6.conf.all.disable_ipv6
$ net.ipv6.conf.all.disable_ipv6 = 1
The easy answer was:
1) Adding the following to your sshd_config (/etc/ssh/sshd_config)
2) Restart SSH
Typed “thunar” and after a brief delay there was my remote file manager forwarded to my desktop.
Ensure you have OpenSSH client and the OpenSSH server installed.
sudo nmap -sP 192.168.0.0/24 scans your network and lists all of your devices.