SCP (Secure Copy) is a secure protocol based on SSH used for transferring files between computers.

learn more… | top users | synonyms

3
votes
1answer
93 views

Differential copy from Windows to Linux

Is there any way to do differential copies of a directory from Windows to Linux over ssh, sftp, scp, or similar? Preferably not rsync since they are all cygwin based and force you to use the ...
0
votes
2answers
466 views

How to transfer files using WinSCP console from a remote Windows 8 Server to a Linux server?

I am currently connected to a windows server. I installed winscp on it. I run the winscp and connect to a linux server. Now on the GUI of the winscp, i clicked the console, and use the scp command. ...
4
votes
2answers
2k views

scp between two remote hosts from my local

I have two remote hostes. host1-> 10.3.0.1 host2-> 10.3.0.2 Both are installed with ssh and scp. In my scanario, ssh and scp listen to port 22 in host1 and in host2 it is port 6969. Now, using my ...
0
votes
1answer
25 views

rsync not skipping untouched files

I transferred about 300GB of files with scp from one server to another. Sadly I forgot the -r option, so part of the files that were in subdirectories were not copied. I verified that the files that ...
0
votes
0answers
178 views

Debian Jessie/Sid - troubleshooting very poor network performance

I'm having problems with my local file server, which is running Debian Jessie/Sid. The server is running Samba, as well as SSH. I've been experiencing very low transfer speeds, and I don't know where ...
3
votes
3answers
599 views

How can I share files over internet between Windows 7 and Linux? [closed]

I want to continuously write small media files (150-200 kb) from a windows 7 desktop machine behind a home LAN to a Debian Linux server in a data center over the internet. The system will remain in ...
0
votes
0answers
77 views

How to properly use SCP to copy from remote to local?

I am trying to copy a file from a remote windows machine onto a local linux machine, but cannot seem to get the syntax right. For some reason, whenever I use SCP, it is just creating a new local copy ...
8
votes
2answers
2k views

FTPS versus SFTP versus SCP

I would like to know exactly what the difference is between the following protocols: FTPS, SFTP, and SCP. For instance Unix has an scp tool, FileZilla offers FTP and SFTP, whereas JetBrains PhpStorm ...
0
votes
0answers
26 views

What do I have to do to make this file not public?

I am trying to SCP some files to an AWS server. However, when I type in my command, it tells me that I am permission denied (publickey). I have chmod 400 ed the key, like Amazon said to. What more do ...
0
votes
1answer
185 views

How to automatically enter user password when prompted by terminal

If I am working in a terminal that is currently SSH logged in to a remote server user@node, and I want to transfer a file from local to that same server, I will run: scp ...
0
votes
1answer
54 views

Is it possible to connect these machines with ssh tunnels or another mechanism?

I am physically on a machine that is behind a firewall and cannot be ssh'd into. Let's call that PC. PC can connect out to two machines, one on AWS and one that is part of a vpn connection, call ...
0
votes
0answers
104 views

Slow SCP tranfers over IPv6 VPN IPSec which has IPv4 private subnets

I have 2 hosts connected with IPv6 VPN. I am using IPv4 internal addresses for machines connected internally and use subnets addressed for these in ipv4. When a host wants to scp a 1 Gig file pull ...
0
votes
0answers
36 views

scp shows incorrect and extremely large file size, cygwin local, debian remote

I attempt to copy a 18MB file from a remote server to my local computer, using scp under Cygwin. scp -r froz@rserver:nov.6.2013.tgz . But scp shows like the following nov.6.2013.tgz ...
1
vote
0answers
56 views

Using scp with an ssh connection - can I copy files directly between remote machines?

I have ssh'd into a remote machine and on that machine run scp to copy files from another remote machine. I assumed that the files would be copied directly between the two remote machines but the ...
0
votes
3answers
918 views

SCP not working in CRON job, only manually

I have a script on a remote server (bServer) which SSH's to a central server (let's call it cServer) and kicks a script which further SSH's to 2 other servers (server13 / server14). A script is run on ...
0
votes
1answer
47 views

zshell globing works for ls, but not scp

Note: This problem is with zshell, it works with bash. I have some images: $ ls *.jpg a.jpg b.jpg But when I try to copy them with scp, it says there are none: $ scp *.jpg host: *.jpg: No such ...
0
votes
0answers
220 views

SCP over NAT stalls at 2112KB

I have two systems (A and B) on different subnets, with one dual-homed box (C) that can see both. I use iptables DNAT on C to port-forward SSH to B, so that A can run ssh -p 12345 hostC to connect to ...
2
votes
1answer
71 views

SCP command Clarification

I'm using the scp commands to pull some files from the remote server and one variation of the command is not working. I have 2 files names one.xml and two.xml in a remote server and I'm pulling these ...
0
votes
1answer
287 views

Debian: What Are Permissions/User Requirement To scp From local server to remote server

I have two LANs with routers tunneled to communicate with my Debian servers over the Internet. That works fine. I can SSH with certificates so as not requiring password to connect local server1 user ...
5
votes
4answers
2k views

Are there other commands like scp but for deleting files and folders?

I am using scp to copy stuff to a remote location. But sometimes scp does not work as expected, I have found that sometimes the copy does not complete properly (possibly when I have added new files to ...
0
votes
1answer
636 views

How to transfer a file from a remote linux machine using SCP with Mingw on Windows7

If I am logged into a linux machine via SSH in a mingw window in windows 7; How do I transfer a file to my local machine? I am imagining something like: scp <filename> ...
6
votes
1answer
4k views

How can I get the scp command to overwrite the destination folder

I am using the scp command to copy some files to a remote pc, as you do with scp :) I note that the default behaviour of an scp copy for files is to overwrite any existing files. Now I want to copy a ...
0
votes
1answer
267 views

Command-line scp doesn't use case-insensitive autocomplete

Auto-completing filenames (by pressing TAB after first characters of the filenames have been written) is case-sensitive both on my Ubuntu 13.04 box and on my Debian Squeeze box, when I use scp. I ...
0
votes
2answers
285 views

SFTP - Recursively fetch new files

I have a remove file system structure like this: + /measure + / 2013-09 + / 2013-09-04 + / fooinstrument + result03343445845.csv + ...
0
votes
1answer
78 views

How to copy directory from remote server

I came across following instruction to copy a directory to my local machine. copy the gems from styx server from "‪location/to/the/directory" to your local directory I know rsync and scp can do the ...
0
votes
0answers
111 views

how can I pass a windows path to Putty pscp?

how can I pass a windows path to Putty pscp? pscp -C -load sessioname c:\program files\some folder\some file.pdf username@anotherWindowsHostname:c:\program files\other folder. all the examples out ...
1
vote
1answer
50 views

Send files with scp while being logged on cluster interface

I have to do some work on a Torque cluster where I log on a User interface via ssh. I transfer files to my directory of the cluster and get files from the directory by using scp in my normal terminal ...
0
votes
2answers
393 views

scp “pipe” files via intermediate host

This is sort of a level-up from this question. Suppose that I am on computer A and want to send files to a computer C. We each have separate access to a host B. A and C can not communicate directly, ...
0
votes
1answer
86 views

scp files from a host via another host

I am on machine A, i can access machine B by ssh and from machine B to C via ssh. But i cannot access machine C directly from A. The problem is that i have to transfer a folder of size 5 GB to my ...
3
votes
1answer
299 views

scp: How to copy only the last 10% of a file?

I have a relatively large log file (46M) on a vServer, of which I'm only interested in the most recent part. How can I download only the last 10% of the file? The server is running Debian and I'm ...
0
votes
2answers
75 views

SCP long directories

Im wondering what the quickest way for this is On my local computer I have a file in /some/long/path/name When i have SSH'ed into another machine I decide I want the local file to go in ...
0
votes
0answers
134 views

Transfer folders and files from Linux to Winows using SCP as protocol in WinSCP.com (command line utility)

I have to login onto a remote Linux target using a local windows machine. I was using Putty and WinSCP as a GUI utilities to login. But I have a requirement which needs to automate the login procedure ...
0
votes
1answer
89 views

rsync transfer chunk size

I‘m transferring 1.1 Mb files over very poor GSM EDGE connection. My rsync command is: rsync --partial --remove-source-files --timeout=120 --append --progress --rsh=ssh -z LOCAL_FILE ...
0
votes
1answer
126 views

rsync - resume broken transfer (idea of rsync)

I have remote stations that collect data from sensors (ARM Debian) and transfers sets of data (about 1.1 MB) every 15 minutes (server is full Debian). On one station GSM reception is poor and standard ...
0
votes
4answers
181 views

Need to transfer multiple large files with strong tolerance to delay and intermittency

I need to transfer a directory of large files (~1.5G each) from my laptop at locations with variable intermittent connectivity and high round-trip delay (e.g. From hotels in Asia to servers in ...
1
vote
2answers
379 views

Script for transferring files over the internet via a Cron task

I want to add a bit to a backup script that will transfer a file to another server, over the internet. My cron currently does a pg_dump of a database into a file on the local machine, I want to then ...
-1
votes
2answers
2k views

How to copy files from remote machine (ubuntu) to local machine (windows)?

I would like to know about two ways: scp and rsync and how exactly they are used to copy files. I tried doing scp ubuntu@ip-10-124-83-21:/home/* /home/ubuntu/crockonjs-2-hd.mov but it didn't work. ...
2
votes
2answers
311 views

One-liner Linux for scp'ing thousands of files as a tar

I have a folder with tens of thousands of files that I need to scp to another box. As doing one file at a time is very timeconsuming, and as I don't have harddrive space to make a compressed tar ...
1
vote
2answers
208 views

Copying files over ssh without password

My supervisor has given me remote access to his computer by logging in through ssh on my local computer. Although I am connected (and can view any files I wish through vi, emacs), how can I copy ...
0
votes
1answer
92 views

ssh/scp from client to target through proxy

I have a target host and proxy host and client host, the client host could not connect to the target host directly, even with command ping. I am wondering if there is anyway for me to ssh or scp from ...
2
votes
3answers
652 views

Deploying .war file on java application server only when file has finished being uploaded on a linux box

This problem happen quite frequently while uploading a .war or .ear, that are just little more than .zip file, to a remote server, and have it deployed by the application server. Usually, at ...
2
votes
1answer
508 views

Run ssh/scp without .ssh directory or with alternate dir?

I'm inside chroot, and everytime I scp it keeps telling me: bash-4.2$ scp user@example.com:somefile . Could not create directory '/.ssh'. Host key verification failed. Obviously, I have no means ...
1
vote
0answers
99 views

Linux to Windows (OpenSSH) directory bindings

I've got OpenSSH working on a windows machine and have been able to successfully connect from Linux to Windows and vice-versa. I need to know how Linux paths are linked to windows while using scp. ...
0
votes
1answer
52 views

What's the most seamless way to work over ssh on OSX?

There's something just wrong about scp'ing every file you've changed. I normally use Sublime Text 2 - is there an editor or something that can upload files right as they are changed via scp? If not, ...
0
votes
2answers
132 views

sshfs or fish:// with root (ssh) login disabled

The server does not allow root login from ssh. I can, however, login as my username and su to root (I know the root pw). Is there a way to use the fish:// protocol or sshfs or some other way to mount ...
0
votes
2answers
316 views

How to use scp command without the -i option and still find the priv key

I am logged into a win2008 box, I run scp with the -i option that points to the directory where the private key resides on the win2008 box. scp -i "cygdrive/c/users/userid/privkey..." ...
2
votes
1answer
127 views

SSH file transfers using ssh-keygen

I am a casual linux user but I am having a some difficulty understanding some directions sent to me from a company we provide data to. They want us to use ssh (which I have used before) to transfer ...
1
vote
1answer
84 views

`scp` searches for target alias on source host instead of local machine

When I try to copy files between two hosts, of which the second is identified by an alias: scp host:foo alias: scp tries to resolve alias by looking into host:.ssh/config and not my local ...
0
votes
2answers
71 views

Sudo and perform scp

Possible duplicate of scp to remote server with sudo I'm facing the following issue: A folder (with sub-folders) with files belonging to usr1:usr1 I login with another user usr2 usr2 can do sudo -u ...
0
votes
1answer
60 views

SCP a remote file with a specific name

I have a script on a remote server that creates a log each day with the date on the name and need to import it to my local machine everyday, but with my script it transfers all the files and I just ...