About 1,210,000 results
Open links in new tab
  1. 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 …

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

  3. scp with port number specified - Stack Overflow

    Unlike ssh, scp uses the uppercase P switch to set the port instead of the lowercase p: scp -P 80 ... # Use port 80 to bypass the firewall, instead of the scp default The lowercase p switch is …

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

  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 …

  6. scp from Linux to Windows - Stack Overflow

    19 You could use something like the following scp -r linux_username@linux_address:path/to/file path/to/local/directory This will copy file to the specified local directory on the system you are …

  7. Automate scp file transfer using a shell script - Stack Overflow

    Jun 19, 2015 · I have some n number of files in a directory on my unix system. Is there a way to write a shellscript that will transfer all those files via scp to a specified remote system. I'll …

  8. scp - Copying files from server to local computer using SSH - Stack ...

    May 31, 2015 · I am having trouble copying files from a remote server using SSH. Using PuTTY I log in to the server using SSH. Once I find the file I would like to copy over to my computer, I …

  9. How to copy all files from a directory to a remote directory using …

    Sep 30, 2015 · Note that scp follows symbolic links encountered in the tree traversal. So if you have sub-directories inside local_dir, the last example will only transfer files, but if you set the …

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

    Jun 12, 2018 · If I do from windows I get 'scp' is not recognized as an internal or external command,operable program or batch file. If I do from Linux to my windows machine then I get …

  11. 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 …

  12. scp or sftp copy multiple files with single command

    scp uses ssh for data transfer with the same authentication and provides the same security as ssh. A best practise here is to implement "SSH KEYS AND PUBLIC KEY AUTHENTICATION".

  13. using scp in terminal - Stack Overflow

    I have created a file on a remote computer that I have ssh-ed into. I want to transfer the file back to the laptop I am using at the moment. I see that I am supposed to use the command: scp …

  14. Use scp to transfer a file from local directory X to remote directory …

    6 If you're running this scp command on the remote machine, it is looking for file.ext as a "local" file, i.e. on the remote machine. To copy a file from the remote machine to the local one, use …

  15. How does `scp` differ from `rsync`? - Stack Overflow

    Nov 27, 2013 · An article about setting up Ghost blogging says to use scp to copy from my local machine to a remote server: scp -r ghost-0.3 root@*your-server-ip*:~/ However, Railscast 339: …

  16. Transfer files using scp: permission denied - Unix & Linux Stack …

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

  17. recursively use scp but excluding some folders - Stack Overflow

    May 2, 2017 · Look into rsync, which can use scp (or at least ssh) as its transfer mechanism and supports exluding certain subdirectories from its argument.

  18. How to filter files when using scp to copy dir recursively?

    Aug 4, 2009 · Stumbled upon this thread looking for an easy way to scp 40 settings.php files in this multi-installation of Drupal without having to do each one at at time. Thanks!

  19. scp transfer via java - Stack Overflow

    What is the best method of performing an scp transfer via the Java programming language? It seems I may be able to perform this via JSSE, JSch or the bouncy castle java libraries. None …

  20. How to copy a file to a remote server in Python using SCP or SSH ...

    I have a text file on my local machine that is generated by a daily Python script run in cron. I would like to add a bit of code to have that file sent securely to my server over SSH.