I have to login onto a remote Linux target using a local windows machine. I was using Putty and WinSCP as a GUI utilities to login. But I have a requirement which needs to automate the login procedure and transfer files/folders. As the host system runs Windows, the normal SCP command is not working for me. But GUI WinSCP.exe runs good but only after selecting SCP as protocol, as SFTP and FTP doesn't work. Now in order to automate the login, I need to use WinSCP.com or command line for WinSCP which uses SCP. I tried using WinSCP.com and selected SFTP as protocol, but its not working. The connection is cutoff immediately. What is the procedure/syntax to logon to the target.