• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

why cant I execute command remotely using ssh

  • Thread starter Thread starter Android Question
  • Start date Start date
A

Android Question

Guest
I am trying to configure my android device LG Nexus 4 to act as Document Camera

For this purpose, I have to scp the files and then remove the files remotely
I have installed SSH server and my scp works, but my remote execution of commands using ssh not working, it throws error

with -v ssh gives the following messages
"Authenticated to 192.168.21.233 ([192.168.21.233]:57388).
debug1: channel 0: new [client-session]
debug1: Entering interactive session.
debug1: Sending environment.
debug1: Sending env LANG = en_US.UTF-8
debug1: Sending command: rm -rf /storage/emulated/0/DCIM/Camera/IMG_20130822_111706.jpg
exec request failed on channel 0
"
when I goggled it says that editing ssh_config file and uncomment: 'AddressFamily all' and changing it to 'AddressFamily inet' will work
I checked in the andrid devices /etc directory, I did not find the ssh_config
 
Back
Top Bottom