Open links in new tab
  1. Use scp to transfer a file from local directory X to remote directory Y ...

    To copy a file from the remote machine to the local one, use scp -P 2222 username@domain:dir/file.ext localdir (assuming that file.ext is in ~/dir on the remote computer, as in your example). If you run scp …

  2. scp with port number specified - Stack Overflow

    Dec 2, 2025 · The lowercase p switch is used with scp for the preservation of times and modes. Here is an excerpt from scp's man page with all of the details concerning the two switches, as well as an …

  3. Transfer files using scp: permission denied - Unix & Linux Stack Exchange

    I try to transfer files from remote computer using ssh to my computer : scp My_file.txt user_id@server:/Home This should put My_file.txt in the home folder on my own computer, right? I …

  4. 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?

  5. Why does SCP hang on copying files larger than 1405 bytes?

    I'm trying to copy a file from one of my local machines to a remote machine. Copying a file with size upto 1405 bytes works fine. When I try to scp a larger file, the file gets copied but the scp p...

  6. Getting permission denied for SCP over SSH server to local

    The problem now was that my Gateway thought it was the old NAS whilst it was the other terminal, and assigned the IP to the WIFI repeater, and this was an IP conflict so scp couldn't find the right …

  7. scp - Transferring large (8 GB) files over ssh - Unix & Linux Stack ...

    Mar 17, 2015 · Any idea what could be wrong? Don't SCP and SFTP support files that are larger than 2 GB? If so, then how can I transfer bigger files over SSH? The destination file system is ext4. The …

  8. 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, …

  9. SCP from one server to another without password prompt

    If I want to transfer the files using scp from server A to server B without being prompted to enter a password [running this from Server A, /home/oracle/export/]

  10. scp - Transferring files over SSH - Stack Overflow

    Dec 5, 2008 · I'm SSHing into a remote server on the command line, and trying to copy a directory onto my local machine with the scp command. However, the remote server returns this "usage" message: …