why cant I execute command remotely using ssh

jjk_saji

New member
Aug 23, 2013
3
0
0
Visit site
Hi All
I am new user in the area of Android, but have Linux knoweldge
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 android devices /etc directory, I did not find the ssh_config
Looking forward for guidance and advice
thanks
Joseph John
 

Latest posts

Trending Posts

Forum statistics

Threads
944,427
Messages
6,922,775
Members
3,159,553
Latest member
saiid