0

Hi guys when I try to call scp from terminal emulator it invokes sftp, I have scp installed (along with ssh and sftp) in /system/bin folder.I know it's working correctly because typing just scp gives me the usage info but calling

scp file user@ip:target

Gives the error sftp: illegal option - -x

Please help!

  • What is the exact command (with options) that you're trying to execute? The error suggests you're passing a -x option, and I've never seen an implementation of scp that had such an option. If you're not passing that in explicitly, then perhaps the file name is causing problems. – eldarerathis Apr 8 '15 at 13:52
  • It's from a script to test if it's working code is touch testssh.txt scp testssh.txt root@192.168.1.103:/home/testssh.txt echo done – JONAS402 Apr 8 '15 at 13:58
0

this issue is caused because the "terminal emulator" app does not handle scp transfer (as far as im aware) upgrade to "better terminal emulator pro" app and the issue disappears.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.