I installed Copssh 3.1.2 on a newly deployed Windows 2003 SP2 Web Edition machine. I have used Copssh in the past to copy files using Putty pscp and Copssh with no problems. I set up public key authentication using the authorized_keys file and can connect fine using putty. Pscp using password authentication also worked. However, pscp using the public key (pageant) results in the following error :
unable to initialize SFTP: could not connect
I enabled debugging in sshd_config only to find that the sftp-server process was starting and then sending a SIGCHLD to the sshd process. I ended up doing the following to make this work :
Editing sshd_config and commenting out the Subsystem line
Adding a new line as follows
Subsystem sftp internal-sftp
Restarting the openssh SSHD service and then connecting using pscp again.