About 986,000 results
Open links in new tab
  1. scp between two remote hosts from my (third) pc - Super User

    I have two remote hosts. host1-> 10.3.0.1 host2-> 10.3.0.2 Both run an ssh server. The ssh server listens on port 22 in host1 and on port 6969 in host2. Now, using my local machine, I need to copy

  2. How can I copy multiple files over scp in one command?

    Mar 4, 2010 · I generally prefer to use scp though as it is easier to resume a partial transfer (or, though I know in this situation the questioner doesn't have the option) rsync as that is both even easier to resume and shares the tar+gz option's whole-stream compression advantage.

  3. scp files via intermediate host - Super User

    Apr 28, 2011 · ProxyJump. New in OpenSSH 7.3: A$ scp -oProxyJump=B thefile C:destination (Behind the scenes, this just uses ProxyCommand and ssh -W.)

  4. How to SCP from Linux server to Windows client - Super User

    I figure SCP is the best candidate for the job but don't really care, so long as the solution works! I cd to the directory containing the file I want (app.war) and type the following: scp app.war ./ I've tried both to no avail: scp app.war ./C:/Users/myUser/ scp app.war ./Users/myUser/

  5. How to use WinScp to connect two windows 10 laptops

    Sep 1, 2020 · Windows 10 nowadays contains both an SSH server and client (ssh.exe residing in C:\Windows\System32).You need an SSH server to use WinScp as client, but you may also use the built-in Windows client.

  6. ssh - scp protocol error: bad mode - Super User

    Mar 12, 2011 · Because of the way scp works (over stdin/stdout over ssh AFAIK), having a naive bashrc that prints messages breaks the formatting scp is expecting, and thus the connection. As suggested in various answers elsewhere (linked below), modifying your …

  7. Copy file using scp fails (debug1: Exit status -1) - Super User

    Jul 27, 2022 · For many years scp (the executable) has been using SCP (the protocol) by default, without knowing any other protocol. I like to call SCP "a hack that stuck". To talk to a remote system by SCP, the local scp invokes ssh and passes a command. The command (like any command passed by ssh) is interpreted by the remote user's shell.

  8. How to copy a file between two Linux machines? - Super User

    Oct 11, 2011 · I'm connecting from a Linux server (Machine 1) to another Linux server (Machine 2) using PuTTY. Using WinSCP, I have copied a zip file from my hard disk in Windows to the Machine 1's home directory. How can I copy this zip file from the Machine 1 to the Machine 2's build/test_builds directory?

  9. Why doesn’t SCP work while SSH does? - Super User

    Jul 26, 2022 · The SCP uses the -P (capital p) option to specify the port, while SSH uses lower case -p. Upd: I seldom use SSH with a non-standard port, and apparently, I never used SCP with a non-standard port. It took me a few minutes of agony to figure out that SCP was not working because it wanted the capital 'P'.

  10. linux - SCP Using Local Machine as Jump Host - Super User

    Aug 27, 2020 · Normally, scp implements this by connecting to host1 and invoking scp on host1 to transfer files to host2. You say this won't work for you. You say this won't work for you. scp has an option to transfer files using between two remote hosts, using the local host as an intermediary:

Refresh