pscp connection time out

Trying to copy from Ubuntu Server to my Windows 7 machine. SSH'd into the server using Putty, navigated to the directory containing my file and ran the command:

pscp -P 2222 FileToCopy.txt User@WindowsIP:C:\path\to\save

After a minute or so I receive the error Fatal: Connection Timed Out

Is something wrong with my command syntax or is there a setting within Putty or my server I need to edit to maintain the connection?

1 Answer

IIRC, Windows doesn't start an SSH server by default, so you have to initiate the connection from the Windows machine. Try running from a shell on the Windows box:

pscp user@bunutu:/path/to/file .
3

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

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

You Might Also Like