scrcpy over ssh (ssh forwarding adb)
by dfhhsthtrjnb from LinuxQuestions.org on (#5DFB7)
What am I doing wrong? Is this an Android issue?
On the Android phone:
Code:$sshdCode:$ nmap 127.0.0.1
Starting Nmap 7.91 ( https://nmap.org ) at 2021-01-29 08:12 HKT
Nmap scan report for localhost (127.0.0.1)
Host is up (0.0046s latency).
Not shown: 998 closed ports
PORT STATE SERVICE
5555/tcp open freeciv
8022/tcp open oa-systemCode:$ telnet 127.0.0.1 5555
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.On the Linux box:
Code:% ssh -C -D5037 termux@192.168.1.10 -p8022 -vvCode:scrcpy --force-adb-forwardCode:$ debug1: Connection to port 5037 forwarding to socks port 0 requested.
debug2: fd 10 setting TCP_NODELAY
debug1: channel 3: new [dynamic-tcpip]
debug2: channel 3: pre_dynamic: have 0
debug2: channel 3: pre_dynamic: have 16
debug2: channel 3: zombie
debug2: channel 3: garbage collecting
debug1: channel 3: free: dynamic-tcpip, nchannels 4In case you stumbled on this through Google, some related info:
https://github.com/Genymobile/scrcpy
https://serverfault.com/questions/48...-2-open-failed
https://wiki.termux.com/wiki/Remote_Access


On the Android phone:
Code:$sshdCode:$ nmap 127.0.0.1
Starting Nmap 7.91 ( https://nmap.org ) at 2021-01-29 08:12 HKT
Nmap scan report for localhost (127.0.0.1)
Host is up (0.0046s latency).
Not shown: 998 closed ports
PORT STATE SERVICE
5555/tcp open freeciv
8022/tcp open oa-systemCode:$ telnet 127.0.0.1 5555
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.On the Linux box:
Code:% ssh -C -D5037 termux@192.168.1.10 -p8022 -vvCode:scrcpy --force-adb-forwardCode:$ debug1: Connection to port 5037 forwarding to socks port 0 requested.
debug2: fd 10 setting TCP_NODELAY
debug1: channel 3: new [dynamic-tcpip]
debug2: channel 3: pre_dynamic: have 0
debug2: channel 3: pre_dynamic: have 16
debug2: channel 3: zombie
debug2: channel 3: garbage collecting
debug1: channel 3: free: dynamic-tcpip, nchannels 4In case you stumbled on this through Google, some related info:
https://github.com/Genymobile/scrcpy
https://serverfault.com/questions/48...-2-open-failed
https://wiki.termux.com/wiki/Remote_Access