ssh icon indicating copy to clipboard operation
ssh copied to clipboard

scp doesn't work

Open gitaner opened this issue 6 years ago • 2 comments

The scp command does not work. It shows: /usr/local/bin/ssh: No such file or directory lost connection

The reason is, that scp looks for ssh and cannot find it, as the path of ssh is hardcoded in /data/adb/modules/ssh/usr/bin/raw/scp as "/usr/local/bin/ssh"

ssh and rsync work fine.

Thank you for the module.

gitaner avatar Oct 05 '19 10:10 gitaner

Bump. Still a problem, after 4+ years.

Clunky fix that survives reboot: mkdir /data/user/bin -- In both scp and sftp binaries (located in /data/adb/modules/ssh/usr/bin/raw), change (hex edit) the unique instances of "/usr/local/bin/ssh" to "/data/user/bin/ssh" -- Make a link: ln -s /data/adb/modules/ssh/usr/bin/raw/ssh /data/user/bin/ssh

Rajah01 avatar Oct 02 '23 16:10 Rajah01

winscp cant log in: keyfile refused by device. with putty I can log in without problems.

githuborer avatar Dec 04 '23 11:12 githuborer