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

learn more… | top users | synonyms

0
votes
0answers
9 views

SSH working, but SCP+git not working at all when network link is overloaded

SCP (and other programs that use SSH, like git) establishes a connection, but just sits there without doing anything. Using an SSH shell works fine. This only happens when the Ethernet network link ...
1
vote
2answers
40 views

Retrieve secure copy in UNIX?

Is there a way to retrieve a secure copy in UNIX? Why would I need to do this? Because I can login to a remote machine from my local machine, but not the other way around. So I need to retrieve a ...
0
votes
0answers
44 views

Using scp to transfer files to an android device

SSHDroid lets an android device function as an ssh server. vSSH is an ssh client for android devices. I have a file on a remote server that I want to transfer to my android device over ssh, only ...
0
votes
0answers
31 views

sftp scp can not work , result in network down

root@6-2:/root> scp 1.pcap yqiu@10.xx.xx.xx:~ yqiu@10.xx.xx.xx's password: 1.pcap 0% 0 0.0KB/s --:-- ETA I use scp to ...
0
votes
2answers
31 views

Unable to scp from remote to local Mac

I have gone over SU and SO posts looking for a way to get this to work, but I'm about to put up my hands and stick with a GUI. I want to scp a ZIP file from a remote server to my local machine. I can ...
0
votes
1answer
31 views

Why is it slower to transfer small files over the Internet

I'm using scp to transfer files from one host to another over the Internet. Assuming that the transfer speed is 2Mb/s, it takes around 1.5 seconds to send 3Mb size between 2 hosts. However, if the ...
0
votes
0answers
20 views

scp to remote server permission denied [migrated]

I try to copy files to a remote server (OSXServer) using scp. I have 2 user accounts on that server with what I thought the exact same settings. Now I tried the copying files into the respective home ...
1
vote
0answers
21 views

Upload to SSH in XMODEM manner?

I know I can use scp command and copy any file whenever I can come with ssh client. But let see in more detail. Suppose I have ALREADY logged in with ssh client. This means that I have ALREADY ...
1
vote
0answers
35 views

transferring files with spaces in them with putty's pscp

I tried the following to no avail: pscp -load test username username@domain.tld:"file name.ext" "file name.ext" pscp -load test username "username@domain.tld:file name.ext" "file name.ext" pscp ...
1
vote
1answer
31 views

Why is scp copying more bytes than it should

I'm copying the Xcode.app from one computer to another using scp and it seems to have copied more than the file size and it's still copying. It 4.94GB (I didn't compress it), but nettop on the ...
0
votes
1answer
19 views

VM file transfer to local machine

I have a VM running on my machine. I want to copy a file over to my machine that is currently running the VM. I was wondering how I can get this file on my local machine.
1
vote
1answer
41 views

pscp and UTF-8 characters

I'm having trouble copying files with UTF-8 characters using pscp on Windows. I'm using command line for that and following command: chcp 65001 pscp -scp -p -pw {pass} -batch ...
0
votes
1answer
32 views

Download a text file with scp

I have tried scp -i ~/awscredentials/govindsinghnagarkoti.pem ubuntu@XX.XXX.XXX.XXX:/server/error.txt. but it is giving usage: scp [-12346BCpqrv] [-c cipher] [-F ssh_config] [-i identity_file] ...
-3
votes
1answer
31 views

Quickest way to upload to a server?

I am looking for a way to upload a large file (1gb) to a server. So far I have used scp, nc and sftp. Initially I start with a nice upload speed of around 2 mbps, but this quickly slows down to around ...
0
votes
0answers
25 views

pscp: how to copy a file from a windows machine to a non-home location on another windows machine?

I want to copy a file from C:\temp on MachineA to C:\final on MachineB. I tried to use the following command, but it gave me an error (permission denied): C:\PROGRA~1\putty\pscp.exe -i ...
0
votes
1answer
30 views

how to save the output of scp command?

I want to save the output of scp command each a laps of time, in fact we i make scp --debug , I see the progressive rate of transferring file . I want to save each time (1s exp) the output of the ...
0
votes
5answers
43 views

How can I run `make` and retrieve the binary from a remote host without `ssh`ing twice?

I'm working on a project for which I don't have the toolchain configured on my own machine and I'm thus developing remotely. My workflow right now looks as follows: open the remote project directory ...
0
votes
1answer
22 views

delivery order of multiple files in SCP

I want to push multiple files from node x to node y in such a way that they arrive at the destination in the lexical order of their timestamp extensions. Examples: a.20140508120001, ...
0
votes
0answers
31 views

FileZilla stomps all over rbash and scponly

Pretty straightforward question: I've got a stock Ubuntu install on a server and I'm trying to only allow certain users to scp files to their own home directories. I read up on rbash and scponly for ...
1
vote
3answers
47 views

scp files between hosts through intermediate

I have access to 3 machines, A, B, and C. The only possible (ssh) connections are: A -> B A -> C I need to get files from B to C, I can only scp the files from A to B (on A: scp remote local), and ...
0
votes
2answers
50 views

Unrar local files to remote server

I have two Linux servers, one which has several RAR files and another empty one. I would like to extract the archives and move the content to Server 2. The problem is: I do not have enough storage to ...
0
votes
1answer
27 views

scp without leaving ssh

I happily use both ssh and scp. Quite often I am in an ssh session and I'd like to retrieve a file from my machine and put it in the directory I'm currently in without having to open a new terminal ...
2
votes
1answer
32 views

Preserve ctime with SCP

How can I copy a file using SCP while preserving ctime (modification time)? I have a folder on my Mac (OS 10.8), and the results of ls -l and ls -lc are the same. $ ls -l total 0 drwxr-xr-x 9 ...
0
votes
2answers
65 views

Best way to duplicate Linux server

My company has an old CentOS 5 system that we need to duplicate for testing. I'm running dd on 2 of the partitions which are small and saving them to /home, but the /home partition can't save to ...
0
votes
0answers
22 views

How to rsync merge two paths into one; opposite of --inplace

I have a large remote directory: remote://server/pathA/zupertoll And a large local directory that is 95% the same as the remote directory: local:///home/pathB/zupertoll I want to copy zupertoll to ...
0
votes
0answers
51 views

ssh proxycommand equivalent on server

Lets say we have three machines me, proxy, server I would like to have an ssh connection to server, so normally I would do me$ ssh proxy proxy$ ssh server server$ # and here we are ssh proxy ...
0
votes
2answers
105 views

SCP is very slow

I am renting dedicated server in a leaseweb and trying to transfer tar files from leaseweb's server to my HOME NAS, but the problem is - max upload speed i get is 180kb/sec, though when i try to ...
2
votes
0answers
31 views

scp doesn't work when my .bashrc is echoing to console

Ok, so I have used linux for a long time but this is the weirdest thing I have encountered in a long time. Maybe I just don't do a lot of scp so probably missing something simple here. So in my ...
2
votes
1answer
50 views

different commands for file copy linux

I'm doing my first steps in working with linux, and my googling for this question didn't work out. So, I might be asking the wrong question, but I'll even THAT would be a helpful response. We're ...
0
votes
2answers
64 views

Unable to send files via SCP

I tried using the scp command with the -i option to transfer the file from local machine to remote EC2 instance: Akhis-Macbook-Pro:~ aswinakhilesh$ sudo scp -i Mykey.pem FileA ...
2
votes
1answer
431 views

Using wildcards in scp command

I have a bash script which copies several files to a remote server using scp. This script works fine but now I need to add a file that contains a wildcard in the name and i have a problem with it. ...
0
votes
0answers
295 views

SCP and SSH connect, but FileZilla and CyberDuck can't

I'm on a Mac. I'm trying to connect to a remote Ubuntu server. I can successfully connect to it using ssh and scp commands in the shell. For example: $ scp -i ~/Projects/keys/foo.pem foo_config.ini ...
0
votes
0answers
31 views

Shell Script to copy huge files from server to server

I want to make shell script to copy files of 40 gb in size from solaris server to linux server ? Can anyone tell me the best way to make a script . Am new to shell script . help me
1
vote
2answers
229 views

Copy file from local host to remote host

This answer must exist somewhere as it's so basic, but I can't find it. I have a file on my local computer that I want to copy to a remote host. I know how to use scp, but if I do it from my local ...
0
votes
1answer
38 views

Tab Completion Broken on SCP with OpenSSH 1:6.2p2-6ubuntu0.1

Here is my scenario: I want to transfer ~/foo.txt to a server aoneill@bar. I start typing in my command line: aoneill@aoneill-Laptop:~$ scp fo At this point I hit <tab> to complete the file ...
0
votes
2answers
91 views

scp from remote server to local computer?

Ok, very very basic and simple question, but I'm a bit confused. After ssh'ing to remote server, I want to transfer a file back to my computer... The syntax is simple, of course: scp ./foo ...
-1
votes
1answer
36 views

SCP using SSH config?

I'm looking to SCP a file on a remote host which I usually would SSH into. I have a config file setup when I SSH which saves alot of time and typing. I'm trying to do something similar for SCP in that ...
0
votes
1answer
67 views

can a locally executed script run commands on the remote server?

I've been experimenting with a patching process for deploying files to a webserver. At the moment I'm using scp to get the zipped directory structure onto the webserver and then cp -rf --backup=t ...
0
votes
1answer
160 views

.zip file got corrupted while scp through 2 linux servers

A .zip file was copied by scp command from a Linux server to another Linux server and the zip file got corrupted and showed the following message. "Unzipping the list file failed. Unexpected end of ...
0
votes
1answer
23 views

Detecting reasons for scp of glob failing

I am scp-ing some files from a remote host in a script. I want to know if anything fails, most commonly due to permissions issues. The files being copied belong to a different user and sometimes the ...
1
vote
2answers
85 views

SCP remember password

On debian, is there anyway for scp to remember the password I've typed in for the duration of my ssh logon, similar to how sudo does? i.e. PC ---ssh(putty)---> server 1 ---scp---> server 2 ...
2
votes
1answer
307 views

Rsync very slow

I have just setup a Debian server for backup of Windows PCs. I am currently testing various methods including: rsync (using Deltacopy on Windows), SMB via Samba and scp. Currently rsync (without SSH ...
2
votes
1answer
277 views

SCP - “not a directory” - What am I doing wrong?

On my remote server I have a file named .bash_profile, that file has nothing inside. I wish to copy a local copy (with something inside) to the remote destination. (overwrite) So I do: scp ...
0
votes
1answer
57 views

scp not working well in 100mbps LAN

I have a compile environment that scps files to a target machine after they have been built over the LAN. Initially this was working well but after several builds, deploys, and reboots, it has become ...
0
votes
1answer
95 views

Executing System call in PHP to run SCP asks for password, every time, even though SSH key is set up

So I am creating a PHP script that uploads an image from my local environment to a remote server. I have my SSH keys set up on both ends and if I simply execute the scp command in terminal it ...
0
votes
1answer
39 views

SCP server for windows server 2003

Is there any SCP server implementation for windows server 2003? My use case is to get files from windows server 2003 machine using SCP.
0
votes
1answer
64 views

Log in using SSH without password

On my server, I've got openssh-server and a special account without password. I'm creating a shell script, that must be used without user input. For example $(ssh dummyUser@dummy.com) I need script ...
0
votes
1answer
117 views

SSH shell on a multicore supercomputer [closed]

I created a program on my 2 core laptop and I want to verify how my program performs when more than 2 cores are available for processing. Do anybody knows any free (or cheap) service where I can ...
0
votes
0answers
66 views

What's a reliable command-line Linux app for SFTP uploading?

I have to upload a large number of files via SFTP. I need a command-line app to do this on Linux CentOS 6. Yes, I've searched on Google and haven't found any that are reliable. I tried to use scp ...
0
votes
1answer
41 views

Can I tell if I'm in an scp session in my .bashrc?

Inside my .bashrc, I'm doing a bunch of magic that causes problems when I'm trying to do an scp. The solution I've been going with is to manually ssh to the target machine, disable my .bashrc, do the ...