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

learn more… | top users | synonyms

0
votes
1answer
22 views

Transfer file from local machine to port forwarded machine

I have to transfer a file from my local machine to remote server 2 from remote server 1. I have port forwarded the remote server1(Amazon Ec2) port 2222 to remote server2(Amazon Ec2). I am connecting ...
2
votes
0answers
17 views

msys2 network performance woes

With a fresh install of msys2 32-bit (needed for git-annex) from https://msys2.github.io/ on Windows 7 SP1 64-bit, I'm seeing incredibly slow network transfer speeds on wget, ssh, rsync, etc. For ...
1
vote
1answer
40 views

Are there any current multi-threaded sftp Windows clients? [closed]

I found bitkinex.com had one, but is rather old and doesn't support the latest encryption. winSCP has it on it's plan, some time way into the future, but doesn't seem likely to happen.
-1
votes
1answer
24 views

WinSCP/PuTTY: Cannot move file on server via sudo: Permission denied

I have uploaded a file to a remote Linux server. current directory is: /home/user/file.war Now i want to move the file into tomcat webapps folder and overwrite the existing version: The directory ...
0
votes
0answers
37 views

stty: standard input: Invalid argument error when scping files

When I try to scp a file to my remote server I get the following error: stty: standard input: Invalid argument This is caused by a line in my .bashrc file: stty -ixon If I remove that line, the ...
0
votes
2answers
24 views

Moving data across environments

I have a very lame situation at the moment about moving data across environments at work. These data are database dumps, Solr indexes or simple images. Our process is: "tarball the data" + ...
0
votes
1answer
41 views

scp copy to external hard drive ambiguous target

I try to copy files from a linux (ubuntu) machine to an external hard drive mounted on a mac but got an error message : scp: ambiguous target What I did is, I'm on a mac, ssh to the linux machine ...
2
votes
2answers
33 views

copying a file from remote node to my own system

I am using the following command to move a file (sender.log) which is on a remote node to my own PC: scp linux-Vostro-1014@example.com:sender.log /root/Desktop When I use this command it asks: ...
0
votes
1answer
54 views

SshDroid SCP: connection refused

I'm trying to copy some files from my PC to my android device, yet I'm having trouble with the transfer. I connected easily using SSHDroid app, but scp returns ssh: Exited : Error connecting : ...
2
votes
2answers
44 views

SSH/SCP hanging

I have two computers connected through an ssh connection. They are placed few miles away but the Internet connections is quite bad. When I try to exchange a bit more data, the ssh console just hangs. ...
1
vote
3answers
105 views

How to copy file from windows laptop to Linux remote virtual server

There are already quite a few topics on this issue here on StackOverflow However, I have spent the last 3 hours trying all of them, but am unable to fix this. I am trying to copy a file from my ...
0
votes
1answer
47 views

Transfer Files Between 2 Server

Is there any recommendation to transfer files between 2 ubuntu server faster? I've already tried scp and ftp, and it take a day to transfer about 15 GB files
3
votes
1answer
292 views

copy files from one remote machine to another

I work at a university, and we have a remote machine(1) that I ssh into. To do this from my laptop, I believe that I have to first ssh into the university system and then ssh into the particular ...
0
votes
1answer
26 views

how to scp between two servers that share same .pem

I have two server which I use same .pem file to connect to them. .pem file is only available on my local machine I can transfer from/to local machine to either of those server but I can't transfer ...
0
votes
1answer
26 views

Why does my RSA key look different on my server than when I try to connect?

I am trying to connect to my Linux server using PuTTY (and SCP specifically) from Windows. When I first tried to connect, as when I try to connect from any new machine, I get a warning about ...
0
votes
0answers
74 views

why does the scp command timeout when moving data from Unix to Windows 2008 R2

I am on UNIX environment using secure copy command to move files from one Unix box to another. No issues all is good. Now I have a need to move data from Unix to Windows Server 2008 R2 platform. Can ...
1
vote
3answers
165 views

How do I copy a file using ftp from machine A to machine B using command

I want to copy a file from source machine A to destination machine B, using command and want to use ftp. I tried this scp /home/varun/Desktop/Test.java ...
3
votes
2answers
80 views

port forwarding and copy back to local machine

I am typically logging in on a network via ssh and then to yet another computer again via ssh to my final destination computer. For instance a home server, and once there to one of my family's ...
0
votes
1answer
55 views

SCP not working in Pexpect

I am trying to do SCP and copy some files from the remote server. Since i dont have root permission i use sudo with the command when it prompts for password i am sending it using pexpect but i am not ...
1
vote
0answers
33 views

Relay SCP to server ? How?

My Linux servers are behind a gateway server to which I ssh to get a menu : # ssh expNoob@gateway01 0 | root@srv01:SSH 1 | root@srv02:SSH 2 | root@srv03:SSH and pick a server to land ...
-1
votes
1answer
73 views

Uploading a file through linux terminal

I looked at a previous question How to upload local file to server through Linux terminal and I am still having trouble performing the upload. I have downloaded a file to my computer and I am looking ...
0
votes
1answer
56 views

Remote copy of LMDB

I want to migrate an LMDB from my local machine to another remote machine, but there is some weirdness about the file size. According to the filesystem, an LMDB is a directory containing two files: ...
1
vote
1answer
122 views

Copy 1-hour-old files from another machine

I have this part in my script where I would copy files from another machine to the current machine running. scp user@samplemachine:/home/user/test/* /home/user/test But then I should only copy files ...
1
vote
1answer
185 views

Best way to transfer files from Windows to Windows via Internet

I’m looking for the best way to transfer files from my computer to another person’s computer. We both use Windows and I can use some external programs like TeamViewer for file transfers but I found ...
1
vote
1answer
465 views

Is there a windows batch command that can copy files from a Linux server to my local machine?

I have been using the following SCP command: SET cfolder=c:\temp\%currentdate% scp -r username@servername.com:/opt/logs/test.log %cfolder%\test_K1B.log The problem with the above is that it keeps ...
1
vote
3answers
65 views

How to scp-and-ssh with specifying host twice?

I frequently do this kind of thing: scp somefile me@host:/some/path ssh me@host Typing out me@host twice can be irksome. We (or at least bash) can grab that last argument with !:$, but that ...
0
votes
1answer
36 views

Can't copy paste folder, connection lost

I want to transfer a folder to another folder. Below is my command scp /home/web/domains/site.com/public_html/sql/months root@54.84.145.22:/home/web/domains/site.com/public_html/sql/months2 While ...
-1
votes
2answers
61 views

How do I download a file from server to my d drive folder?

How do I download a file from server to my D:\mydocument? scp /var/www/joomla/sql/rt_head_includes.php root@202.xx.xx.xx:D:\mydocument
-1
votes
1answer
40 views

Copy file from server to computer using scp

I use the srcipt below to download a file but no file is downloaded. scp /var/www/joomla/sql/rt_head_includes.php root@202.xx.xx.xx:D:\mydocument What's wrong with the script?
0
votes
0answers
19 views

Copy all searched files from remote to local

I have mounted remote server location "www.blah.com/tmp" to my local machine at /mount/remote. Now when I do this $ cd /mount/remote then $ find . -name CRASH* -print It prints the respective ...
1
vote
3answers
431 views

Bash: How to copy a file to multiple SSH servers all of which are specified in a list text file?

I have a file (lets say "thisfile.sh" for example) I would like to copy to multiple servers (of which some may require password authentication) at once upon launching my bash file, presumedly with ...
0
votes
1answer
2k views

scp ssh: connect to host 10.0.0.109 port 22: No route to host lost connection

I use SCP command on Linux Debian to transfer a file to my colleague via LAN. But I encounter the problem: $ scp filename.file username@10.0.0.109:/tmp ssh: connect to host 10.0.0.109 port 22: No ...
0
votes
1answer
72 views

Retrieving files from VirtualBox on Mac (scp or…?)

I am able to get files from my local machine to my virtual machine by doing: scp -P 2222 myfilepath/myfile.csv vmuser@vmhost:/vmfilepath/ I edited this file, and now I would like to do the reverse. ...
1
vote
1answer
213 views

dropbear dbclient + scp, equivalent to openssh “-oStrictHostKeyChecking”

Using dropbear's dbclient and scp implementation, is there a way to get the same behavior produced by openssh when using the scp option "-oStrictHostKeyChecking=no". In other words, can I make ...
1
vote
0answers
54 views

Can I copy files via scp to specific folder in Windows?

I know I can copy file in "local" folder through command scp ubnt@192.168.1.20:/tmp/system.cfg /home/hp/backup/192.168.1.20/ but I'd like to copy this file to folder e.g.: C:\backup\192.168.20\ ...
0
votes
1answer
75 views

scp files between hosts using ssh local port forwarding

I have a problem about transferring files between hosts. Lab environment is like: My host <-> Host A <-> Host B I only have access to Host A and I want to transfer files to Host B. Host A has ...
0
votes
2answers
2k views

Can't scp file from local to remote host - Permission denied

I have trying to copy some files from local machine to remote host. root@local:~$ scp /var/www/html/file.php root@remote_host:/var/www/html/test/ The result is scp: /var/www/html/test: ...
1
vote
1answer
90 views

scp from ubuntu virtual machine under Windows 7: connect refused

This question is similar to Virtual Box ssh not working on Virtual Box Ubuntu machine. I actually got ssh to work, but now I want to transfer a file from my local machine to the remote machine using ...
0
votes
0answers
29 views

SCP Transfer in Mac the result is LS_COLORS='';

I'm having trouble copying files via scp it says LS_COLORS. Here is the result: Jehcys-MacBook:~ jehcyadorna$ scp jason@lvlivefeed1.com:/var/www/html/FamilyHelpNetworkUSA.com/images ~/Desktop/ ...
0
votes
0answers
90 views

Logging in to ssh doesn't ask for password, but scp does

I am logging in to my (Rackspace) server using ssh via putty where it doesn't prompt for a password. But using the same IP if I transfer files via scp, I am prompted for a password. How could I ...
2
votes
3answers
512 views

How to make a local tar file of a remote directory

This link describes how to copy tarred files to minimise the amount of date sent over the network. I am trying to do something slightly different. I have a number of remote files on different ...
0
votes
1answer
130 views

input/output error while copying PNG files from linux server to desktop using scp in cygwin

I am trying to copy some png files from linux server onto my local desktop running windows 7. I am trying to copy the files with cygwin using the scp command. I do not get any syntax errors but all my ...
0
votes
0answers
40 views

Running SCP through PHP does not yield same result as CMD

I have a Microsoft Windows Server 2012 R2 Foundation running an MSSQL server and PHP. My goal is to replicate tables from the MSSQLdatabase to a Debian Wheezy MySQL database. I have successfully ...
1
vote
1answer
64 views

“WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!” constantly occurring, even *after* deleting known_hosts

As per title, lately I started getting the error "WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!" after I set up a new server in AWS. I'm on OSX Yosemite (10.10.3) I'm aware of nearly all the ...
2
votes
1answer
2k views

chroot: failed to run command ‘/bin/bash’:

I am trying to modify a kernel image before using it for qemu. I am trying to add a compiled binary to the image. I am using 64 bit Linux 14.02. What I am doing is, linaro-media-create --image_file ...
0
votes
1answer
46 views

Send file from windows local host to remote server via ssh

How can I send any file from a windows local host to a remote server via ssh? If possible, using only shell command line.
0
votes
0answers
90 views

How can I do ssh or scp without restarting the sshd service

I had a problem related to ssh about a week back -- Ssh/Ping Problems in Mac Yosemite through wifi but not ethernet. I was able to solve the problem. However, now I am facing another problem, where I ...
0
votes
1answer
31 views

scp checks existence in the wrong order

I've just come across a what I think is an odd behavior in scp. Consider the following: root@box:~$ scp foo.txt root@example.com: root@example.com's password: foo.txt: No such file or directory I ...
2
votes
0answers
129 views

SCP - The authenticity of host can't be established (But cant enter anything at prompt)

In windows 7 command prompt I enter: scp -W Scp\password.txt -P 22 xxxx@xxxx.xxxx.com:/home/xxxx/xxxx/xxxxxxx.csv After this I get the message: Do you want to trust this new host key and ...
1
vote
0answers
235 views

Cygwin: scp/ssh is slow

I'm using rdiff-backup for backuping my data. Since some machines are using Windows I installed sshd and rdiff-backup with cygwin there. The backup works but is pretty slow. I then did some testing ...