Open links in new tab
  1. How do I copy a folder from remote to local using scp? [closed]

    How do I copy a folder from remote to local host using scp? I use ssh to log in to my server. Then, I would like to copy the remote folder foo to local /home/user/Desktop. How do I achieve this?

  2. scp - How to copy a file from a remote server to a local machine ...

    Mar 5, 2015 · In my terminal shell, I ssh'ed into a remote server, and I cd to the directory I want. Now in this directory, there is a file called table that I want to copy to my local machine /home/me/Desktop...

  3. Copying a local file from Windows to a remote server using scp

    Using the stock 'scp' from a recent Windows Server 2022 version I was able to use the command from this answer above, but with using a colon in the drive specifier, as the first path segment on the …

  4. linux - copy file/folder using scp command - Stack Overflow

    Jun 12, 2018 · How can I copy a file/folder from windows to linux (putty), probably using scp command? I used scp user@hostname (windows):c:\folder\filname user@hostname (Linux):/folder/filename …

  5. scp files from local to remote machine error: no such file or directory

    I want to be able to transfer a directory and all its files from my local machine to my remote one. I dont use SCP much so I am a bit confused. I am connected to my remote machine via ssh and I ty...

  6. scp with port number specified - Stack Overflow

    Dec 2, 2025 · Only solution which allows the use of scp -3 from and to servers with ssh listeners on different ports. scp -3 -P 123 server1:/file -P 456 server2:/file or similar alternatives wouldn't work, …

  7. linux - How to pass password to scp? - Stack Overflow

    Sep 8, 2008 · I know it is not recommended, but is it at all possible to pass the user's password to scp? I'd like to copy a file via scp as part of a batch job and the receiving server does, of course, need a

  8. Using putty to scp from windows to Linux - Stack Overflow

    I cannot believe that this worked! On my Windows 11 host, I pulled a log file from an ancient Solaris 8 host in a test lab using the pscp command and it bloody worked!!! I had been struggling all day trying …

  9. AWS: SCP to an EC2 instance via AWS CLI without public IP

    Feb 23, 2024 · An alternative approach would be to use Port Forwarding Using AWS System Manager Session Manager | AWS News Blog. This allows you to forward a port when connecting via Session …

  10. Error when trying to SCP from Linux remote to Windows 11

    Nov 17, 2024 · I am currently trying to use scp to transfer files from a Linux-based remote server to my local machine from within a Windows Powershell terminal. My machine is installed with Windows 11, …