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

learn more… | top users | synonyms

0
votes
0answers
27 views

scp from remote to local, where is my file?

I'm copying (or at least trying) a file from a remote server to my local pc (Windows) using the following command: scp user@host:/usr/filename.txt / It copies the file, but I have no idea where it ...
-1
votes
0answers
12 views

Use ssh config localcommand to auto scp file from proxy to remote destination

I connect to a work proxy, from my home, to get to a work destination. This proxy is a jump host. I want to share my bash configs from the proxy(as master) to all the sub hosts i connect out to. Im ...
-1
votes
1answer
30 views

Linux - Copy a folder including the subfolders, BUT don't copy any file that is over 5MB

I'm managing 2 linux servers and looking to copy the data from one to the other. I'm looking to just copy these files on one server first then zip it and then scp it over. I need to copy a 100GB ...
0
votes
3answers
21 views

scp copy all files in a directory with some exeptions

I want to remote copy a directory (multiple actually but this is a simple example), but I want it to NOT copy any .dat files that it find the there. I am currently using: scp -r ...
0
votes
1answer
17 views

Copying a large number of files from a remote device without creating an archive

Normally, if I wanted to copy files from a remote machine I would do scp user@remote.device:/folder/* . However, in this case there are so many files that get I the error bash: /usr/bin/scp: ...
0
votes
0answers
40 views

Transfer file to Windows Server 2008 R2

In a LAN, I have a Windows Server 2008 R2 machine; access to server through Remote Desktop is granted both 1) from a LAN host 2) from the internet, thanks to a virtual server configured in the ...
0
votes
1answer
64 views

SSH Find current LOCAL MACHINE directory

I am attempting to upload a file from my local machine to my server using: scp Users\MyName\Desktop\myzipfile.zip user@host:/path/to/whereyouwant/thefile I have a zip file on my desktop that I am ...
0
votes
0answers
16 views

Does scp should be in MinGW?

So I have installed Mingw with msys. But I can't find scp, ssh-keygen in it. When I type scp - windows shell says 'command not found'. Also there is no scp.exe in ming win folder.
1
vote
1answer
19 views

Write file from remote server to local directory?

I want to do some grep-magic to a logfile on a remote server and write the result to a local file on my computer. Is there an easier way than my 3 step solution: do grep-magic and write file on ...
1
vote
1answer
14 views

Trying to get pip onto UnixWare

I have an installation of UnixWare 7.1.4 for which I'd like to add (python's) pip. I know that get-pip.py is at https://bootstrap.pypa.io/get-pip.py My problem is that the only tools I have to get ...
1
vote
0answers
24 views

rsync/scp without root password and without allowing root ssh login

This is the scenario. We have a multitude of servers, currently we simply ssh in as root using our keyfile and then when we need to rsync we use the root user. All very easy. What we would like to ...
1
vote
1answer
20 views

Reauthentication behavior of SCP with curly braces

I have the following files on a server: A_Hello.txt B_Hello.txt C_Hello.txt A_World.txt B_World.txt C_World.txt A_SU.txt B_SU.txt C_SU.txt A_IDONTWANTTHISFILE.txt If I try to download the desired ...
0
votes
0answers
12 views

Setting up Cluster on Vagrant using Bro Network

I'm trying to set up a cluster in vagrant. What I want is pretty simple, I just want 1 master and 1 slave. Inside the master I already installed Bro Network to use broctl. This is my Vagrantfile: ...
0
votes
2answers
31 views

FIle Transfer broadcasting

I am curious are there implementations where one can send a file over a broadcast address like in IPv4 addresses to multiple end hosts? For instance can scp perform a file Broadcast to multiple hosts ...
0
votes
0answers
7 views

scp between two remote servers (B, C) which are accessible via a third server A [duplicate]

I found solution for transferring files between the two servers B and C from a local machine without logging into the servers using scp, if both B and C are accessible from the local machine. However, ...
-1
votes
2answers
24 views

How to copy a file into Linux back from the server (30ngs) using scp command

how to copy a file into Linux back from the server (30ngs). I am using scp command. The command i used to copy a file from Ubuntu to Server is as follows. And it work well. tahir@D3C1209-VIRTUAL:~$ ...
31
votes
6answers
6k views

Can the server admin see what I copy via SCP?

Say I am connecting to a server via SCP and copying some files from the remote server to my home computer. Can the server admins tell that I have copied something, see what was copied, or know who ...
2
votes
1answer
68 views

How is WinSCP able to provide a sudo user for executing scp?

The tool WinSCP is able to perform a sudo on the remote machine to perform the scp as the sudo user. That leads me to think that this must be possible with the command-line version of scp as well. ...
0
votes
1answer
30 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
38 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
67 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
78 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
281 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
26 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
80 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
56 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
117 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
46 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
227 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
73 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
325 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
36 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
35 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
143 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
398 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
90 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
104 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
41 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
101 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
77 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
171 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
250 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
687 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
79 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
47 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
68 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
41 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
23 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
723 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
4k 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 ...