Questions tagged [scp]
SCP (Secure Copy) is a secure protocol based on SSH used for transferring files between computers.
748 questions
1
vote
1
answer
77
views
Can contact two remote servers, but neither can contact each other?
I'm trying to copy a large directory from an old VPS (which is about to be taken offline permanently), to a new one. Let's say their IP addresses are 111.111.111.888 (old) and 222.222.222.999 (new).
...
0
votes
0
answers
143
views
Does ssh cipher choice matter when the CPU supports AES instructions?
Transferring 26MiB and 263MiB tarballs of RPMs between two RHEL 8.10 identical (same CPUs, RAM, vNICs, SAN) ESX VMs on the same subnet, I get very similar speeds when using aes128, 192 and 256-ctr.
(...
0
votes
0
answers
48
views
Why can’t I copy from a remote server, that's connected to a gateway, to local? [duplicate]
I'm trying to copy (using scp) a folder from a cluster (accessed via a remote server) directly to local.
The issue is that the cluster the folder is in needs to be accessed from a gateway. I've been ...
0
votes
0
answers
121
views
Access remote network drive via SCP from remote windows server
I try to access and copy files from a remote windows-10 computer to my local machine (which is a linux one). On the remote windows computer, the files reside on a network drive which is mounted to ...
5
votes
2
answers
1k
views
Why does my SCP command give "cp: Can't create No such file or directory?"
I'm trying to transfer a file from my RT CRIO using the command
scp -o StrictHostKeyChecking=no -P 22 /c/Test.txt kac/MYNAME@MYIP:/C:/Data/
Doing so gives the error:
cp: can't create 'kac/MYNAME@MYIP:...
0
votes
0
answers
44
views
How to use SFTP from the command line? [duplicate]
The usual way to use SFTP is to start it and use it in interactive mode. I would like to call it from a bash script (on Linux) to automatically get or put a specified file with no further user ...
0
votes
0
answers
131
views
How to copy a file from Linux (GitBash) to Windows using SCP
I want to copy a file from a remote Linux host using (GitBash) to Windows. Therefore based on what has already been asked. I have tried but the command stalls when ran.
This is the command in my use ...
1
vote
1
answer
66
views
Why is it when using SCP with my Raspberry Pi 4, I get the message "No route to host?"
On a Raspberry Pi 4 I used SCP but I obtained a message like "No route to host"
What I have to do to get rid of this message?
1
vote
1
answer
224
views
scp: command not found while both sides have it installed
I am trying to copy a file from my gcp instance to Kaggle (I tried other servers/PCs only to face the same issue).
The issue is that when running the command:
scp -i ./key user@ip_address:/path/to/...
0
votes
1
answer
88
views
How can I use a command in ssh on a remote server to transfer and open an image on my local machine
I am generating images on a remote computing cluster in an ssh session, and I want to transfer them to my local machine and open them using a single command on the remote machine.
I know I could use ...
0
votes
0
answers
164
views
SCP run in MobaXTerm sets Linux permissions on Synology drive connected as Windows network drive
on our Windows computer MobaXTerm is installed. The same computer is also connected to a Synology server as a Windows network drive.
When we use scp in MobaXTerm to copy a file from a third Linux ...
0
votes
1
answer
115
views
Why does extracting a .tar.gz seem to generate application/octet stream files?
I am trying to extract a tarball. I created this tarball on MacOS and then copied it over to a remote server, where I tried to extract the files. When I try to extract the files, it works but it also ...
0
votes
0
answers
395
views
ssh/scp stop working when a large quantity of data has been copied
From time to time I am copying data from my laptop Apple Air to a linux host.
If the sums of the sizes of the files copied is above a number of GB (not clear what the limit is) I get a error (most of ...
0
votes
0
answers
651
views
How to use SSH key with SCP only and not SSH, etc…?
I needed to script some SCP operations, so I used ssh-keygen and ssh-copy-id to allow me to run it without entering a password every time.
However, SSH now works without a password, too: I can just ...
1
vote
1
answer
136
views
Get file from remote Linux server
Scenario:
I have access to a linux server A whose credentials are managed via a PAM server. I want to copy a file to this server from a remote server B whose credentials i have.
Challenge:
SCP from ...