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

learn more… | top users | synonyms

0
votes
2answers
31 views

ssh, scp or rsync for deploying built applications? [on hold]

I need to write a "deployer" bash script that will take a bunch of compiled/packaged Java applications and copy them to specific directories on our app servers. My options, as I see them, are ssh, scp ...
1
vote
1answer
37 views

How to scp without password prompt without storing private key

Here is my current setup: Connect to a Ubuntu server (Let's call this the server) from Windows Do something interesting. Send files from server 1 to another Ubuntu box (the box). I used to store ...
0
votes
1answer
10 views

Codeblocks - upload binary to server after compilation

I'm running Debian 7.6 on VirtualBox and I also have a Debian VPS. Is there any way to setup Code::blocks to automatically scp the binary after compilation to my VPS?
0
votes
0answers
21 views

Error EOF using pscp to transfer files to windows server

I am using pscp to transfer files from my computer to a windows server but it doesn't work. here is the command I'm using and the result pscp -v -scp file_test.txt LOGIN@HOST_ADDRESS:C:.\ Looking ...
0
votes
2answers
27 views

Perform scp-then-ssh in one connection

Both at work and at home I tend to do the following very often: $ scp "SomeScriptIJustCreatedOrModified.sh" some-server: $ ssh some-server ./SomeScriptIJustCreatedOrModified.sh arguments And ...
0
votes
0answers
26 views

SCP error 'unable to open'

So, I set up a SSH server (freeSSH, win7) and can connect to it just fine with PuTTY. I then tried to use pscp to transfer a file (foobar.txt, from client to server). I cd-ed to the dir pscp.exe was ...
0
votes
2answers
90 views

How to scp across two ssh

I have three computers HOME, WORK and SERVER and I am connected from HOME to SERVER by: ssh -t <WORKusername>@<WORK> ssh -p23456 <SERVERusername>@localhost I need to transfer the ...
1
vote
3answers
61 views

How to check for incoming SCP connections on Linux?

I want to view if any SCP connections are coming to my Linux machine. How can I view those?
0
votes
2answers
56 views

crontab is not working

I am using Linux Fedora. I want to create a crontab with SCP command, but it's not working. [shiv@db2 ~]$ crontab -l #this is server to server copy... */2 * * * * date >> ~/$ scp ...
0
votes
0answers
33 views

Using SSH only & not SCP

I am trying to make a script to backup Netscreen Firewall config with following code: plink -ssh -pw %%C %username%@%%B get config > "%DESTDIR%%TIMESTAMP%\%%A.cfg" Where "get config" is the ...
0
votes
0answers
16 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
45 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
152 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
33 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
51 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
42 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 ...
1
vote
0answers
28 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
48 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
44 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
70 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
43 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
34 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
38 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
53 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
54 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
25 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
43 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
82 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
61 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
31 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
41 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
67 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
26 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
62 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
127 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
40 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
54 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
108 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
668 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
345 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
40 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
413 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
42 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
135 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
42 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
80 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
215 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
24 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
150 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 ...