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

Guest

Re: winscp not working - timeout..

czekker wrote:

i try to use v3.4.2
after prompting for password it says `starting the session` and after 30s (i increased the default 15s) gets timeout and says:
`host hasn't answered for 30 seconds`


well, the problem was with my `.profile` file....
now it's workin' great!
czekker

winscp not working - timeout..

i try to use v3.4.2
after prompting for password it says `starting the session` and after 30s (i increased the default 15s) gets timeout and says:
`host hasn't answered for 30 seconds`

the server logs looks ok:
> Dec 12 23:29:07 server.edu.pl sshd[10479]: Accepted password for username from xxx.xxx.xx.xxx port 1316 ssh2
> Dec 12 23:29:07 server.edu.pl sshd[10481]: subsystem request for sftp

and here goes the winscp log:
. WinSCP Version 3.4.2 (Build 197)
. Login time: 13 dec 2003 17:10:03
. --------------------------------------------------------------------------
. Session name: server.edu.pl
. Host name: server.edu.pl (Port: 22)
. User name: username (Password: No, Key file: No)
. Transfer Protocol: SFTP
. SSH protocol version: 2 only; Compression: No
. Agent forwarding: No; TIS/CryptoCard: No; KI: Yes
. Ciphers: aes,blowfish,3des,WARN,des; Ssh2DES: No
. Ping interval: 55 sec (0 = off); Timeout: 30 sec
. SSH Bugs: -,-,-,-,-,-,-,-,
. Proxy: none
. Return code variable: Autodetect; Lookup user groups: Yes
. Shell: default, EOL: 0
. Local directory: E:\My Documents, Remote directory: home, Update: No, Cache: Yes
. Clear aliases: Yes, Unset nat.vars: Yes, Resolve symlinks: Yes
. Alias LS: No, Ign LS warn: Yes, Scp1 Comp: No
. --------------------------------------------------------------------------
. Looking up host "server.edu.pl"
. Connecting to server.edu.pl port 22
. Server version: SSH-2.0-OpenSSH_3.7.1p1
. We claim version: SSH-2.0-WinSCP-release-3.4.2.197
. Using SSH protocol version 2
. Doing Diffie-Hellman group exchange
. Doing Diffie-Hellman key exchange
. Host key fingerprint is:
. ssh-rsa 1024 6a:2c:e0:79:e8:3b:e9:d2:69:23:05:08:cc:68:fd:4c
. Initialised AES-256 client->server encryption
. Initialised AES-256 server->client encryption
! Using username "username".
. Keyboard-interactive authentication refused
. Session password prompt (username@server.edu.pl's password: )
. Asking user for password.
. Sent password
. Access granted
. Opened channel for session
. Started a shell/command
. --------------------------------------------------------------------------
. Using SFTP protocol.
. Doing startup conversation with host.
> Type: SSH_FXP_INIT, Size: 5, Number: -1
. Waiting for data timed out, asking user what to do.
. Asking user:
. Host hasn't answered for 30 seconds.
.
. Wait for another 30 seconds? Pressing 'Abort' button will close session. ()
. Attempt to close connection due to fatal exception:
* Terminated by user.
. Closing connection.
* (ESshFatal) Cannot initialize SFTP protocol. Is the host running a SFTP server?
* Terminated by user.


any ideas?
thanx for help....