Re: Error: "Can't detect command return code"
See documentation for details about "Error skipping startup message" error.
Before posting, please read how to report bug or request support effectively.
Bug reports without an attached log file are usually useless.
Setup
When you run WinSCP you'll need to make some quick changes before connecting to an OpenSSH on Windows server. Unfortunately, you'll need to make these changes every time you define a new host. After making the changes, however, you can save them for that host.
When the Login dialog comes up make the following changes on the designated tabs:
Basic
Fill in the hostname, port, username, and password or key file.
Advanced
Turn on enable compression and use SSH2 as the default protocol.
Shell
Enter "/ssh/sh" as your shell. Uncheck Lookup user groups. Switch the end-of-line character to CR/LF.
Directories
Change remote directory to "/".
When connecting you may get an error message regarding pagefile.sys. Disregard this message. By default you'll get a copy confirmation dialog box. This can be disabled in the options.
If text files bloat during transfer, make sure you set the end-of-line character to CR/LF for windows servers. Unix servers should be left at the default. When downloading large, already compressed files I'd recommend disabling scp compression. It'll make things REALLY slow.
By default you'll be placed in C:\ when connecting. You can connect to other drives using the cygdrive notation. To move to the d drive go to /cygdrive/d/.
Here's a handy little trick. Go into c:\ and create a directory called "cygdrive". From then on, when connecting via WinSCP, you'll be able to open that directory and see all available drives.
Getting the: "Can't detect command return code" error when trying to connect to the VShell (VanDyke) WinSSHd (Bitvise) server. Connecting to SSH server on Mandrake is no problem.
Hey, I am having same problem but connecting to Windows 2k server running open ssh,
I'm also receiving the message below when trying to connect with winscp to a openssh server (win XP).
Please post (or send me via email) the session log. You can delete any sensitive information if you want.