> For the complete documentation index, see [llms.txt](https://kawsing.gitbook.io/opensystem/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://kawsing.gitbook.io/opensystem/andoid-shou-ji/termux/ssh-xforwarding.md).

# SSH Xforwarding

vi /data/data/com.termux/files/usr/etc/ssh/sshd\_config

```
PrintMotd yes
PasswordAuthentication yes
X11Forwarding yes
Subsystem sftp /data/data/com.termux/files/usr/libexec/sftp-server
```

![](https://529150212-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Lh81JtaIQ84bwQqz_Wh%2F-M-402mkWxynD-qa6_N1%2F-M-40KoOSR18-54Lcwqx%2Fimage.png?alt=media\&token=7d28c6dd-4170-4177-b448-2b51f079911a)
