SSHDroid lets an android device function as an ssh server. vSSH is an ssh client for android devices.
I have a file on a remote server that I want to transfer to my android device over ssh, only using the android device in the process.
Using this setup, I tried an scp from the android device
scp remote_user@remote_host:file file
After being prompted for the password I got permission denied.
I then tried to transfer it from the remote server
scp -P 2222 file root@SSHDroid-ip:/mnt/extSdCard/file
Without being prompted for the password I now get the message that the network (of the android device) is unreachable: lost connection.
Is this a permission problem? I have transferred files over ssh from the remote server before, so I suppose the problem is on the side of the android device.