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.

  • "... the normal SCP command is not working for me." Why not? – Ignacio Vazquez-Abrams Aug 13 '13 at 9:32
  • @IgnacioVazquez-Abrams: As in Windows command prompt SCP command shows as unrecognised command. – pRAShANT Aug 13 '13 at 9:40
  • Have you tried installing it? – Ignacio Vazquez-Abrams Aug 13 '13 at 9:41
  • 1
    In Windows, Naah!!! It was better to install WinSCP and use it. WinSCP itself is using SCP protocol with Putty integration (which uses PSCP, as to my knowledge). – pRAShANT Aug 13 '13 at 9:48
  • Clearly it is not, since it is not suitable for your purposes. – Ignacio Vazquez-Abrams Aug 13 '13 at 9:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.