This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| docu:tutos:android:adb_tcp_forwarding [2020/02/07 12:34] – admin | docu:tutos:android:adb_tcp_forwarding [2020/02/07 12:48] (current) – admin | ||
|---|---|---|---|
| Line 34: | Line 34: | ||
| You can do this easily by enabling tcpip mode on adb and forwarding the port.\\ | You can do this easily by enabling tcpip mode on adb and forwarding the port.\\ | ||
| - | First, **enable tcpip on 5557**, and forward on **server to 5558** | + | First, **on the server**, |
| <code bash> | <code bash> | ||
| adb tcpip 5557 | adb tcpip 5557 | ||
| Line 43: | Line 43: | ||
| <code bash>adb forward --list</ | <code bash>adb forward --list</ | ||
| - | Now, you can use ssh forwarding to connect the **phone shell or screen remotely**!!! | + | Now, **on the client**, you can use ssh forwarding to connect the **phone shell or screen remotely**!!! |
| <code bash> | <code bash> | ||
| ssh -L 5558: | ssh -L 5558: | ||