I was facing a problem to login the ESX through winSCP client then i found the solution ..
- Go to the service console on the physical server & login
- vi /etc/ssh/sshd_config
- Change the line that says PermitRootLogin from “no” to “yes”
- do service sshd restart
And my problem was solved…
I don’t have any problems with SFTP or SCP using WinSCP 3.0.
Make SURE you are not trying to connect SFTP with root user access. By default, remote root login is disabled.