Topic "opening connection very slow"

Author Message
Wolfgang Riedmann

Guest


Hi,

I've noticed that the opening of a session is very slow and takes a several minutes. I've activated logging, and so I have seen that on every opening WinSCP does a lot of these things:

Using SCP protocol.
Doing startup conversation with host.
Skipping host startup message (if any).
echo "WinSCP: this is end-of-file:0"
WinSCP: this is end-of-file:0
Detecting variable containing return code of last command.
Trying "$status".
echo "$status" ; echo "WinSCP: this is end-of-file:0"
WinSCP: this is end-of-file:0
Trying "$?".
echo "$?" ; echo "WinSCP: this is end-of-file:0"
0
WinSCP: this is end-of-file:0
Return code variable "$?" selected.
Clearing all aliases.
unalias "echo" ; echo "WinSCP: this is end-of-file:$?"
-bash: unalias: `echo': not an alias

and these are very slow. Is there any possibility to make these faster or skip they?

Thank you very much!

Wolfgang
wolfgang at riedmann dot it
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
Location: Prague, Czechia
You may skip some initialization steps, but note that it may render WinSCP unusable. But it is worth trying.

See SCP tab of login dialog and its options "clear aliases", "clear national variables", "look user groups".

Also consider using SFTP instead of SCP.
Guest




Hi Martin,

thank you for your answer! In fact, sftp is faster, but only when I select the third option (sftp only).

Wolfgang
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