Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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.

share|improve this question
    
"... 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
    
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

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.