Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

eigerzoom

Host is not communicating for more than 15 seconds

Trying to connect with WinSCP to my android device via scp over the local lan.
Android has bash installed as default and i have given bash chmod 0775 privileges in /system/bin directory.
I am using sshserver android app as my server. (Info on Google Play/Market)
Winscp is authenticating, however after that it times out.
I have added a firewall exception in Windows 8.1 x64 for Winscp on both public & private networks.
I am able to connect using SFTP using Winscp and another FTP program to the server on android.
I believe SCP will offer greater transfer speeds so I would like to get it working as sshserver app supports scp.
I have tried letting the connection attempts run longer before aborting.
If I were to guess at the issue, when winscp starts communicating with the echo it doesn't appear to have root.
Is it supposed to have root? Is there a script or command I can run to force bash to open as root?
Just guessing, i am absolutely a linux noob, so any help appreciated.
I have removed the host key & etc. from the log as well as local account name & directory

Here is my log:

. 2015-04-25 19:56:13.565 WinSCP Version 5.7.2 (Build 5316) (OS 6.3.9600 - Windows 8.1 Enterprise)
. 2015-04-25 19:56:13.565 Configuration: AppData\Roaming\WinSCP.ini
. 2015-04-25 19:56:13.565 Log level: Normal
. 2015-04-25 19:56:13.565 Local account:
. 2015-04-25 19:56:13.565 Working directory: C:\Program Files (x86)\WinSCP
. 2015-04-25 19:56:13.565 Process ID: 6600
. 2015-04-25 19:56:13.565 Command-line: "C:\Program Files (x86)\WinSCP\WinSCP.exe"
. 2015-04-25 19:56:13.565 Time zone: Current: GMT-4, Standard: GMT-5 (Eastern Standard Time), DST: GMT-4 (Eastern Daylight Time), DST Start: Sun 3 8, DST End: Sun 11 1
. 2015-04-25 19:56:13.566 Login time: Saturday, April 25, 2015 19:56:13
. 2015-04-25 19:56:13.566 --------------------------------------------------------------------------
. 2015-04-25 19:56:13.566 Session name: Photon (Modified site)
. 2015-04-25 19:56:13.566 Host name: 192.168.1.3 (Port: 49696)
. 2015-04-25 19:56:13.566 User name: eigerzoom (Password: Yes, Key file: No)
. 2015-04-25 19:56:13.566 Tunnel: No
. 2015-04-25 19:56:13.566 Transfer Protocol: SCP
. 2015-04-25 19:56:13.566 Ping type: C, Ping interval: 30 sec; Timeout: 15 sec
. 2015-04-25 19:56:13.566 Disable Nagle: No
. 2015-04-25 19:56:13.566 Proxy: none
. 2015-04-25 19:56:13.566 Send buffer: 0
. 2015-04-25 19:56:13.566 SSH protocol version: 2; Compression: Yes
. 2015-04-25 19:56:13.566 Bypass authentication: No
. 2015-04-25 19:56:13.566 Try agent: Yes; Agent forwarding: No; TIS/CryptoCard: Yes; KI: Yes; GSSAPI: Yes
. 2015-04-25 19:56:13.566 GSSAPI: Forwarding: Yes; Server realm:
. 2015-04-25 19:56:13.566 Ciphers: aes,blowfish,3des,WARN,arcfour,des; Ssh2DES: Yes
. 2015-04-25 19:56:13.566 KEX: dh-gex-sha1,dh-group14-sha1,dh-group1-sha1,rsa,WARN
. 2015-04-25 19:56:13.566 SSH Bugs: A,A,A,A,A,A,A,A,A,A,A
. 2015-04-25 19:56:13.566 Simple channel: No
. 2015-04-25 19:56:13.566 Return code variable: Autodetect; Lookup user groups: A
. 2015-04-25 19:56:13.566 Shell: default
. 2015-04-25 19:56:13.566 EOL: 0, UTF: 2
. 2015-04-25 19:56:13.566 Clear aliases: Yes, Unset nat.vars: Yes, Resolve symlinks: No
. 2015-04-25 19:56:13.566 LS: ls -la, Ign LS warn: Yes, Scp1 Comp: Yes
. 2015-04-25 19:56:13.566 Local directory: T:\, Remote directory: /mnt/sdcard/, Update: Yes, Cache: Yes
. 2015-04-25 19:56:13.566 Cache directory changes: Yes, Permanent: Yes
. 2015-04-25 19:56:13.566 DST mode: 1;Timezone offset: 0h 0m
. 2015-04-25 19:56:13.566 --------------------------------------------------------------------------
. 2015-04-25 19:56:13.651 Looking up host "192.168.1.3"
. 2015-04-25 19:56:13.651 Connecting to 192.168.1.3 port 49696
. 2015-04-25 19:56:13.712 Server version: SSH-2.0-SSH Server - photon
. 2015-04-25 19:56:13.712 Using SSH protocol version 2
. 2015-04-25 19:56:13.712 We claim version: SSH-2.0-WinSCP_release_5.7.2
. 2015-04-25 19:56:13.713 Using Diffie-Hellman with standard group "group14"
. 2015-04-25 19:56:13.713 Doing Diffie-Hellman key exchange with hash SHA-1
. 2015-04-25 19:56:14.179 Verifying host key dss with fingerprint ssh-dss 1024
. 2015-04-25 19:56:14.202 Host key matches cached key
. 2015-04-25 19:56:14.202 Host key fingerprint is:
. 2015-04-25 19:56:14.202 ssh-dss 1024
. 2015-04-25 19:56:14.202 Initialised AES-256 SDCTR client->server encryption
. 2015-04-25 19:56:14.202 Initialised HMAC-SHA1 client->server MAC algorithm
. 2015-04-25 19:56:14.202 Initialised AES-256 SDCTR server->client encryption
. 2015-04-25 19:56:14.202 Initialised HMAC-SHA1 server->client MAC algorithm
. 2015-04-25 19:56:14.209 Pageant is running. Requesting keys.
. 2015-04-25 19:56:14.210 Pageant has 0 SSH-2 keys
! 2015-04-25 19:56:14.210 Using username "eigerzoom".
. 2015-04-25 19:56:14.261 Prompt (password, "SSH password", <no instructions>, "&Password: ")
. 2015-04-25 19:56:14.261 Using stored password.
. 2015-04-25 19:56:14.311 Sent password
. 2015-04-25 19:56:14.339 Access granted
. 2015-04-25 19:56:14.339 Opening session as main channel
. 2015-04-25 19:56:14.342 Opened main channel
. 2015-04-25 19:56:14.380 Started a shell/command
. 2015-04-25 19:56:14.411 --------------------------------------------------------------------------
. 2015-04-25 19:56:14.411 Using SCP protocol.
. 2015-04-25 19:56:14.414 Doing startup conversation with host.
. 2015-04-25 19:56:14.464 Skipping host startup message (if any).
> 2015-04-25 19:56:14.464 echo "WinSCP: this is end-of-file:0"
< 2015-04-25 19:56:14.480 sh-3.2$ echo "WinSCP: this is end-of-file:0"

< 2015-04-25 19:56:14.481 WinSCP: this is end-of-file:0

. 2015-04-25 19:56:29.482 Waiting for data timed out, asking user what to do.
. 2015-04-25 19:56:29.482 Asking user:
. 2015-04-25 19:56:29.482 **Host is not communicating for 15 seconds.
. 2015-04-25 19:56:29.482
. 2015-04-25 19:56:29.482 Wait for another 15 seconds?** ()
. 2015-04-25 19:57:50.676 Attempt to close connection due to fatal exception:
* 2015-04-25 19:57:50.676 **Terminated by user.**
. 2015-04-25 19:57:50.676 Closing connection.
. 2015-04-25 19:57:50.676 Sending special code: 12
. 2015-04-25 19:57:50.676 Sent EOF message
* 2015-04-25 19:57:50.731 (EFatal) **Terminated by user.**
* 2015-04-25 19:57:50.731 Error skipping startup message. Your shell is probably incompatible with the application (BASH is recommended).