Topic "Slow login after version 3.6.1"

Author Message
lawnmower

Guest


Any version after 3.6.1 takes about 1,5 minutes to login. Last message that I get is "Reading remote directory". I thought this had something to do with WinXP SP2 firewall so I disabled it but it had no effect. I also disabled the firewall service but it didn't help either.
any ideas what changed between 3.6.1 and 3.6.5 Beta, that could lead to this kind of behaviour?
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24555
Location: Prague, Czechia
lawnmower wrote:
any ideas what changed between 3.6.1 and 3.6.5 Beta, that could lead to this kind of behaviour?

Only change I can think of with such impact is the directory tree. But I do not think that this is the case. Can you post a log file? Do you have the problem with all servers or with one particular only?
_________________
Martin Prikryl
lawnmower

Guest


I've tried this with many servers. Here's my log. Logfiles between version 3.6.1 and 3.6.5 are identical except login time and version info.

. --------------------------------------------------------------------------
. WinSCP Version 3.6.1 (Build 221) (OS 5.1.2600 Service Pack 2)
. Login time: 8. lokakuuta 2004 13:10:16
. --------------------------------------------------------------------------
. Session name: xxx
. Host name: xxx.xxx.xxx.xxx (Port: 22)
. User name: xxx (Password: No, Key file: No)
. Transfer Protocol: SFTP (SCP)
. SSH protocol version: 2; Compression: No
. Agent forwarding: No; TIS/CryptoCard: No; KI: Yes; GSSAPI: No
. Ciphers: aes,blowfish,3des,WARN,des; Ssh2DES: No
. Ping type: -, Ping interval: 30 sec; Timeout: 15 sec
. SSH Bugs: -,-,-,-,-,-,-,-,
. Proxy: none
. Return code variable: Autodetect; Lookup user groups: Yes
. Shell: default, EOL: 0
. Local directory: C:\Temp, Remote directory: /work/Incoming, Update: Yes, Cache: Yes
. Cache directory changes: Yes, Permanent: Yes
. Clear aliases: Yes, Unset nat.vars: Yes, Resolve symlinks: Yes
. Alias LS: No, Ign LS warn: Yes, Scp1 Comp: No
. --------------------------------------------------------------------------
. Looking up host "xxx.xxx.xxx.xxx"
. Connecting to xxx.xxx.xxx.xxx port 22
. Server version: SSH-2.0-OpenSSH_3.8.1p1
. We claim version: SSH-2.0-WinSCP-release-3.6.1
. Using SSH protocol version 2
. Doing Diffie-Hellman group exchange
. Doing Diffie-Hellman key exchange
. Host key fingerprint is:
. ssh-rsa 1024 1e:b8:63:73:f7:f3:58:9c:31:35:34:ae:17:a9:ba:66
. Initialised AES-256 client->server encryption
. Initialised AES-256 server->client encryption
! Using username "xxx".
. Password prompt from server (Password: )
. Asking user for response.
. 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
< Type: SSH_FXP_VERSION, Size: 5, Number: -1
. SFTP version 3 negotiated.
> Type: SSH_FXP_EXTENDED, Size: 38, Number: 200
< Type: SSH_FXP_STATUS, Size: 38, Number: 200
< Status/error code: 8
. Server does not recognise WinSCP.
. Cached directory change via "/work/Incoming" to "/work/Incoming".
. Getting current directory name.
. Listing directory "/work/Incoming".
> Type: SSH_FXP_OPENDIR, Size: 23, Number: 523
< Type: SSH_FXP_HANDLE, Size: 13, Number: 523
> Type: SSH_FXP_READDIR, Size: 13, Number: 780
< Type: SSH_FXP_NAME, Size: 2379, Number: 780
> Type: SSH_FXP_READDIR, Size: 13, Number: 1036
< Type: SSH_FXP_STATUS, Size: 28, Number: 1036
< Status/error code: 1
> Type: SSH_FXP_CLOSE, Size: 13, Number: 1284
< Type: SSH_FXP_STATUS, Size: 24, Number: 1284
< Status/error code: 0
. Startup conversation with host finished.
. Closing connection.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24555
Location: Prague, Czechia
Hmm, I obviously need to include timestamp for log entries Smile
Can you do this for me: Enable log window, log in and watch the log window to see on what entry it hangs for that 1,5 minute. Thanks.
_________________
Martin Prikryl
Guest




prikryl wrote:
Hmm, I obviously need to include timestamp for log entries Smile
Can you do this for me: Enable log window, log in and watch the log window to see on what entry it hangs for that 1,5 minute. Thanks.


I think these are the 2 last lines:
< Status/error code: 0
. Startup conversation with host finished.

But... this is weird. After weekend (my computer was off) login is working fine with all versions and takes only about 5 seconds. I think there is/was something wrong with my environment. I don't remember if I rebooted my computer after I disabled XP firewall so I enabled the firewall and rebooted again. Login still works like it should be. I'm sorry that I bothered you with this. If this problem comes back I'll let you know. Sorry!!! Embarassed
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24555
Location: Prague, Czechia
I may as well be a problem with local directory. I see in the log that your initial directory was c:\temp, which may contain large amount of files. Can you try to set the directory again as default one?
_________________
Martin Prikryl
lawnmower

Guest


prikryl wrote:
I may as well be a problem with local directory. I see in the log that your initial directory was c:\temp, which may contain large amount of files. Can you try to set the directory again as default one?


Well, same thing again. I have restarted computer enabled/disabled firewall, changed default local direcory to default and to empty directory. Login (after I give password) takes 26 seconds with 3.6.8 and opens instantly with 3.6.1. Last "fast" line is:
". Startup conversation with host finished. "
(Which is also the last line in logfile).

I'll manage fine with older version too, so relax. I seem to be the only one with this problem. Smile
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License