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

learn more… | top users | synonyms

7
votes
1answer
7k views

scp exec request failed on channel 0

I am trying to scp files from one computer to another however I get a "exec request failed on channel 0". When I use ssh however, I can get to the machine with no problems. I am using the scp function ...
4
votes
0answers
2k views

warning message “kex protocol error: type 7” during scp, rsync or shell work

Lately, I get lots of these errors on my home server. Their occurrence seems proportional to the traffic, so if I am working in a shell on the server I may seem 1-2 a day. But If I start some rsync, ...
4
votes
0answers
549 views

Ubuntu SSHFS doesn't sync

I am trying to set up a Ubuntu-machine for web development, and thought i'd start working with SSHFS instead of the annoying FTP-protocol. I installed SSHFS through apt-get. I've created a folder in ...
3
votes
0answers
481 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 ...
2
votes
0answers
80 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 ...
2
votes
0answers
211 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 [email protected]:/home/xxxx/xxxx/xxxxxxx.csv After this I get the message: Do you want to trust this new host key and continue ...
2
votes
0answers
212 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 ...
1
vote
0answers
68 views

Is it possible to recover files from a linux scp that combined the files?

I accidentally typed this command when getting files from a server: scp username@host:/data/* * Which copied all the files from the directory on the server to a file * on my machine. Is it possible ...
1
vote
0answers
49 views

Using two bonded network interfaces in Ubuntu14.04

I have 6 ethernet cards in my server. 4 of 1Gbps and 2 of 10Gbps, So I have configured all 4Gig cards as bond0 with static IP 144 and 10Gig cards as bond1 with IP 122. The problem I'm facing is that ...
1
vote
0answers
109 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
0answers
68 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 on.. ...
1
vote
0answers
119 views

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

I know I can copy file in "local" folder through command scp [email protected]:/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\ or ...
1
vote
0answers
176 views

Check for a failed copy with scp

Is it possible in my code to verify if the file is well copied or not ? ssh -t root@$machine -x "sshpass -p 'ubuntu' scp -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null /home/MyFile.txt ...
1
vote
0answers
31 views

Copy text file from a isolated server

I have a linux remote machine which is isolated from the rest of the world. To access to it I have first to connect via ssh to a gateway. When connecting to the gateway I have no prompt, but I must ...
1
vote
0answers
575 views

transferring files with spaces in them with putty's pscp

I tried the following to no avail: pscp -load test username [email protected]:"file name.ext" "file name.ext" pscp -load test username "[email protected]:file name.ext" "file name.ext" pscp -...
1
vote
0answers
1k 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 ...
1
vote
0answers
157 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. ...
1
vote
0answers
268 views

Under what circumstances does the scp command fail?

I have two linux(redhat 5.6, 64 bit) servers(hp proliant 380p g8), server1's eth0,eth2 bonded to bond0.Similarly server 2's eth0,eth2 bonded to bond0. server1's eth0 connects to cisco(3560 catalyst) ...
1
vote
0answers
497 views

Inconsistencies with SCP for Ubuntu and Windows Server 2003 (using CygWin 1.7.x.x)

Some days ago I was able to scp to the remote server from my windows server 2003 using cygwin to copy the id_rsa, using scp (id_rsa.pub location) [email protected] now it(scp) seems to be not working. ...
1
vote
0answers
402 views

lftp mget equivalent for put?

Reading this answer, it seems an awesome way of transferring a ton of tiny files between two remote machines is lftp's mget command. However, I'm using two machines without root access, and only the ...
0
votes
0answers
15 views

Different transfer speeds between two Linux machines depending on which machine initiates transfer

I have an old Linux computer (i7 2nd generation, 1024Mhz RAM) and a Wireless N card. I also have a much newer Linux computer (4th gen i5 with 1600MhZ RAM) and a wireless A card Both desktop machines ...
0
votes
0answers
11 views

(script?) to get -i with SCP?

Can I make scp ask before overwriting an existing file? Says that vanilla 'scp' doesn't come with a '-i' simple file-check, so that it can easily overwrite files if they merely have the same name. ...
0
votes
0answers
37 views

Misconfigured shell on remote host

I installed the fish shell on a remote host through ssh. I later set it to my default shell through: sudo chsh -s /bin/fish After logging out when I later tried to log back into the remote host I ...
0
votes
0answers
25 views

set up identity file but still can't ssh without environment variables

I am trying to set up a scp job on crontab and am testing that ability through the console. The crontab doesn't import environment variables, so I'm testing this through env -i, but also importing the ...
0
votes
0answers
39 views

iMX6 secured copy scp command fail

I am running embedded Linux on and iMX6 board. I would like to be able to put a file into my system with command 'scp'. I have Ubuntu running in a virtual machine in a desktop that has said files. ...
0
votes
0answers
57 views

AWS EC2 Instance SCP: tput: No value for $TERM and no -T specified

Hello SuperUser Heroes, I have been using my system's terminal (Mac OS X El Capitan) and have never had issues with it. Today, wanted to upload some folders to some EC2 machines (which I used to do ...
0
votes
0answers
107 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 ...
0
votes
0answers
77 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
0answers
224 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.
0
votes
0answers
2k 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
0answers
513 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 ...
0
votes
0answers
29 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 ...
0
votes
0answers
37 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 [email protected]:/var/www/html/FamilyHelpNetworkUSA.com/images ~/Desktop/ ...
0
votes
0answers
268 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 ...
0
votes
0answers
60 views

Multi hop SSH with certificate on bastion server

I have this situtation: my local machine a login server (with token implementation) a set of machines accessible only with another authentication from login server (token implementation too) this is ...
0
votes
0answers
62 views

Is there a simple way to automatically send through scp any file modified in a folder to a remote folder?

Put it simply: I have a folder full of files and subfolders with more files. I would like to have a mirror of that folder in a remote server so anytime a file is modified on my machine it gets ...
0
votes
0answers
191 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
0answers
131 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
3k 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
43 views

sftp scp can not work , result in network down

root@6-2:/root> scp 1.pcap [email protected]:~ [email protected]'s password: 1.pcap 0% 0 0.0KB/s --:-- ETA I use scp to ...
0
votes
0answers
133 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 ...
0
votes
0answers
206 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
0answers
28 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
0answers
248 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
251 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
0answers
604 views

trying to transfer a file from my computer to a unix server

I m trying to automate the deployment process wherein i follow the following steps- 1.Run a Ant Script to build a .ear file 2.Login to the unix server using putty(SSH Connection) providing the login ...
0
votes
0answers
732 views

scp not working

I need to copy a file from remote machine(which is using Windows OS) to my machine(It also uses Windows OS) using ssh in java.So i used JSch sample code exec to do this work.In this i gave scp command ...
0
votes
0answers
665 views

Automation script to SCP from UNIX to Window Server

I'm new to server/Unix trying to transfer file between AIX to Windows I'm trying to create SCP or SFTP script that will run on cron and transfer text file on /usr/apps/11.111.1.11.log file to window ...
0
votes
0answers
89 views

When I do SCP of big files my Mac becomes very sluggish

Whenever I try to use SCP to upload files to my server, performance goes down. It slows down so much that I cannot even see the mouse pointer. I have a MacBook AIR i5, with 4GB of RAM. I don't see a ...
0
votes
0answers
590 views

scp fails randomly

I'm trying to set up a regular scp between two linux based systems (one with SLC5, other running Ubuntu). I seem to be able to happily copy in one direction, but not the other. Copying from the ...