1
0
mirror of https://github.com/google/adb-sync.git synced 2026-01-03 09:58:01 +00:00

Add a separate adb-channel tool.

This commit is contained in:
Rudolf Polzer
2014-09-22 10:01:26 +02:00
parent 95b7746cba
commit f7ca1e197b
2 changed files with 36 additions and 0 deletions

View File

@@ -90,6 +90,28 @@ To copy all downloads from your device to your PC, type:
adb-sync --reverse /sdcard/Download/ ~/Downloads
```
ADB Channel
===========
This package also contains a separate tool called adb-channel, which is a
convenience wrapper to connect a networking socket on the Android device to
file descriptors on the PC side.
It is best used as a `ProxyCommand` for SSH (intall
[SSHelper](https://play.google.com/store/apps/details?id=com.arachnoid.sshelper)
first) using a configuration like:
```
Host sshhelper
Port 2222
ProxyCommand adb-channel tcp:%d
```
After adding this to `~/.ssh/config`, run `ssh-copy-id sshhelper`.
Congratulations! You can now use `rsync`, `sshfs` etc. to the host name
`sshhelper`.
Contributing
============