SCP stands for Secure Copy Protocol and is related to questions regarding secure file transfer.

learn more… | top users | synonyms

0
votes
3answers
14 views

How do I use SCP with two different ports on each IP

How do I use scp with two different ports on each IP. SSH LOCAL : IP=111.111.111.111 & port=22 SSH REMOTE : IP=222.222.222.222 & port=24 EXEMPLE SCRIPT BASH: for i in "${array[@]}" ...
0
votes
1answer
35 views

Copy file with scp command

Trying to copy a file from RPi to my PC: $ scp MyFile.pdf user@192.168.0.83:~ ssh: connect to host 192.168.0.83 port 22: connection refused lost connection When copying the same file from my PC ...
3
votes
1answer
32 views

Escape username spaces in SCP

I've been playing around with SCP for a while, and I've been able to transfer files from one place to another. It all worked nicely until I needed to copy a file from Ubuntu to a Windows user who had ...
1
vote
0answers
47 views

ssh / scp / sftp slow. Transfers seems to be capped at ~64kb/s

Machine details: mediacenter@mediacenter-Aspire-R1600:~$ uname -a Linux mediacenter-Aspire-R1600 3.19.0-51-generic #58-Ubuntu SMP Fri Feb 26 21:22:26 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux ...
1
vote
1answer
98 views

How to make scp go faster?

I use the following command to transfer files across my home network (when I have to transfer a lot of files, I usually archive them with the tar utility): scp -c blowfish [FILE] [USER]@[ADDRESS]:[...
1
vote
0answers
35 views

scp syntax question

I'm having a little difficulty using scp to transfer files from a remote computer. The issue apparently has to do with the name of the directory the files are contained in. They're on a CD drive ...
1
vote
1answer
16 views

Error when trying to copy directory content with rsync inside a shell script

I want to copy the content of "src/main/resources/" to my remote servers. This folder contains several *properties files. The following command executes without any problem in bash and zsh: rsync -...
3
votes
1answer
134 views

Copy a list of files to remote computer while creating parent folders

I have a list of files lying in subdirectories which I have created by calling find: for f in $(find . -name "myFile.txt"); do echo "$f" >> filelist.txt; done The content of filelist....
0
votes
0answers
13 views

Multiple scp commands in bash script, but entering password only once [duplicate]

I currently use a bash script in the following format to update local data with remote one: usr=$1 scp -P 4444 -r $usr@some.other.machine.at:/some/folder/*Tools /home/localUser/someFolder/ scp -P ...
1
vote
1answer
83 views

Set up an Ubuntu 15.04 based mini-pc as WiFi router [closed]

I am wondering if there is a way to set up a Ubuntu mini-pc with a WiFi adapter as a WiFi router, so that I can use my laptop to scp some files from it wirelessly.
0
votes
1answer
127 views

scp stalls at 2112KB

After upgrading an Ubuntu server from 12.04 to 14.04, I am now unable to send (larger) files by scp. Also, bzr updates and commits to and from the server are unreliable, presumably if the total data ...
0
votes
0answers
25 views

How to recovery libc-2.15.so file after remove it?

I removed the file 'libc-2.15.so' and can't use basic linux orders now. At the mean time I can't use 'scp' to copy a local file to that server. So Can I use 'ftp' to transport this file to that server,...
2
votes
2answers
84 views

Copy files over network while creating these files

My Situation: I want to copy a file from one PC to another. Unfortunately this file isn't complete. There is a process appending data to this file (only at the end). Is there a way to easily copy ...
0
votes
0answers
133 views

How to copy file from Ubuntu 15.10 via WinSCP?

I'm a new Linux user, just installed open-ssh on my Ubuntu VM. When I connect there is a message that says: Error listing directory '/home/administrator'. But it does connect. I am unable to copy a ...
7
votes
1answer
669 views

How do I use scp backwards?

I want to do the following: scp root@server.ip.adress:/root/file.txt ~/homecomputer/directory Instead of taking a file from the server though, I would like to send a file. How do I do this?
0
votes
1answer
711 views

How to fix No Such File Or Directory Error message while using SCP Command

I want to transfer file from Server to my local machine through SSH Connection. But i am getting No such file or directory error message. i have file following path: File Name is messageSentLog.log ...
1
vote
2answers
42 views

Copying exact amount of files via scp

I'm copying pictures form my iphone via scp, where filenames looks like this IMG_3134.JPG. And let's say I'd like to copy files from IMG_3094.JPG to IMG_3134.JPG. Using special characters like * or ? ...
0
votes
0answers
1k views

Why does my SSH connection time out after attempting to use 'scp'?

While connecting to a web server via SSH from my PC, I attempted to transfer some files using scp. The syntax I used was scp user@webserver.com:/home/user/public_html/index.html/ user@my_ip:/home/user/...
2
votes
2answers
1k views

Where would you find SCP logs?

I can't seem to get SCP logs (on the server) to show up anywhere. I've searched through quite a few pages, including: scp / ssh log on ssh-server http://ubuntuforums.org/showthread.php?t=1789437 ...
24
votes
4answers
4k views

How does using the tilde work as a shortcut to my home directory?

I was confused, trying to copy some files from one PC to another. I have it figured out, but the syntax is still confusing to me. This works: scp ~/Desktop/Volenteer.png jay@server.ip:~j0h/b which ...
2
votes
1answer
251 views

How to connect and copy file to Windows 8 system from Ubuntu 12.04 via network using command line? [closed]

We have separate Ubuntu client systems and Windows system connected via LAN. My requirement is to copy a file to Windows 8 system via command line using utility like scp. For that we have to run ssh-...
1
vote
1answer
182 views

scp, where did my files go?

I logged in with ssh, into a pc in our lab. I would like to copy a .txt from there, to my laptop in home. So I did: root@hostname:/home/gsamaras/konstantis/cholesky# scp gsamaras@hostname.gr:...
6
votes
4answers
7k views

What is the difference between scp and cp?

I'm really new to the command line and Ubuntu and I have recently learned that there is the scp command as well as the cp command. I tried to use an scp command to move a directory from Point A to ...
1
vote
2answers
167 views

Am able to log in via ssh but not able to use scp in ubuntu 14.04 reinstall

I am able to log in via ssh but not able to use scp in ubuntu 14.04 after reinstall. I keep getting the message @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ WARNING: REMOTE HOST ...
0
votes
3answers
994 views

How can i connect to a server via SCP in Lubuntu 15?

In windows I can use WinSCP, and it's said in this thread (What is a program similar to WinSCP?) that you can use Nautilus's bulit-in function to do this job. But in Lubuntu there's only this pcmanfm. ...
0
votes
1answer
88 views

scp to /media directory

I can scp to a directory under /home but not under /media. Why? So for example scp /local/file/path user@192.168.1.xxx /home/more/path works but scp /local/file/path user@192.168.1.xxx /media/more/...
1
vote
1answer
276 views

scp - files getting different sizes in destination folder

While using scp, the total file size was noticed to be 0.1G less in the destination folder and, a few files were noticed to be larger in size in the destination folder. What could have caused this? ...
2
votes
2answers
69 views

How can I send large files between two Ubuntu devices that both are connected to a silly hotel Wi-Fi network that does not permit SSH?

I've got the network addresses of both devices but pings don't reach the computers. How can I send big files between these devices? Just to be clear, I don't want to transfer data using a USB drive ...
1
vote
1answer
83 views

Why is this odd file extension appearing when I scp a file?

I'm creating a large number of gifs and copying them to a separate computer with a webserver folder mounted via sshfs. For some reason the files will randomly copy with *.gif.001 file extensions. My ...
4
votes
1answer
416 views

Showing progress in whiptail while using sshpass and SCP

I'm writing a bash script that automates the building, copying and running of a golang app to a remote server. I'm using whiptail to let the user pick some options, enter in some details (e.g. SSH ...
2
votes
0answers
893 views

cp: cannot stat … : No such file or directory

EDIT when I run $ stat /Users/argenticdev/www/projects/nickeleres/nickeleres.tar.gz I receive: 16777220 1624366 -rw-r--r-- 1 argenticdev staff 0 4692346 "Mar 5 10:40:49 2015" "Mar 5 10:40:11 ...
0
votes
3answers
1k views

Move file to another user's home directory (without sudo)

I have a couple of files that I want to move to another's user home directory. I don't have permissions to write to that user's home directory, but I know his password. I know how to copy the file ...
2
votes
1answer
629 views

Running SCP via Perl system() call when running as a service

I created a Debian style service that monitors a database and copies files to a remote machine depending on the data in the database. When this runs "standalone", the entire process works ...
0
votes
2answers
2k views

SCP from remote to local does not work

I can scp just fine from local to remove by doing: scp trip3.csv pi@192.168.2.11:/home/pi/ But when I try to do remote to local it says no such file or directory: scp pi@192.168.2.11:/home/pi/...
0
votes
1answer
142 views

I'm specifying the port when I use scp, but I get an error saying port 22 connection refused. What am I doing wrong?

All I want to do is move a file from my laptop to my server. Both machines have openssh-server installed, and port 2222 is specified in both sshd_config files as well as both ssh_config files. I'm ...
0
votes
5answers
268 views

quick-and-dirty file sharing on a LAN

I have a rather large file(s), which I'd like to share between two Linux boxes on the same network. I'm somewhat familiar with scp, but how do I configure it on the host? That is, how does the host ...
0
votes
2answers
223 views

how to copy files on a differnt ubuntu machine on network to local ubuntu machine

I am trying to copy files from a ubuntu machine(with IP 10.46.57.44) on to current directory on my ubuntu VMware player using following command but the command doesnt look right? can anyone suggest ...
1
vote
1answer
56 views

Why ssh shows Desktop folder as a file?

I am using ssh to accessing a server and I could use scp to copy some files to server Desktop by: scp T.tar.gz username@serverIP:/home/username/Desktop but now I cannot access to server Desktop ...
1
vote
1answer
668 views

Setting up user to download files with no shell access

I've created a user and set its shell to /usr/sbin/nologin. As expected, a PuTTY connection closes immediately after connection. When trying to get WinSCP to connect with the SFTP protocol, it says ...
1
vote
3answers
1k views

How to Transfer a zip file into ubuntu server?

I have d:/upload/jboss-eap-6.2.0.zip This file need to uploaded into Ubuntu server I tried with following command scp d:/upload/jboss-eap-6.2.0.zip ubuntu@ip-10-47-175-216:/home/ubuntu
1
vote
1answer
255 views

Concatenate of Hostname in script is not working

I have to concatenate the Hostname in a file name and ssh it to a machine what i have currently is scp ../output/OutputFile50.txt sarah:~/client/output/OutputFile50${HOSTNAME}.txt it is working ...
0
votes
2answers
2k views

Unable to use “pip install scp” command in ubuntu 12.04

I am new to the ubuntu/linux world. While try to run my python script I get the following error: root@ubuntu:/home/haris/Downloads/# python install.py Traceback (most recent call last): File "...
2
votes
2answers
412 views

scp error in ubuntu 12.04

When I'm connecting to server from my local desktop - it is connecting. When I'm using scp over port 22 - have timeout. I'm using following commands to connect via SSH: ssh -p 22 user1@192.168.12....
0
votes
1answer
2k views

Cannot access 14.04 using ssh/scp?

When I tried to access my ubuntu using ssh or scp from other OS, I cannot access, same as I put correctly password root. See the file below If I use ssh appear the same problem... How can I fix ...
1
vote
1answer
661 views

scp to NAS permission denied

There are several ways to go, and I wish to find out about them. I have a file on our ad server. I have root access for the server, and wish to copy over a file to our ad NAS. The file is owned by a ...
3
votes
1answer
982 views

How we can copy one file from one server to other in cron

Can anybody let me know how we can copy a file from one server to another in a cron. I know about scp but how we use it in a cron, since we need to pass the password. Edited I found this link Expect ...
20
votes
1answer
63k views

Copy folders (not one file) using SSH ubuntu? [duplicate]

I am trying to copy a folder to remote Ubuntu server using command line ssh connection, i understand it's doable to transfer a file using scp but i have many files in a folder iam trying to copy to ...
1
vote
1answer
265 views

is it possible to execute SCP/RCP/SFTP from linux server to Windows Desktop?

I have an Linux server, and I would like to remote copy files from linux server to another Windows OS machine, I have tried this method shown as below and it is not working. scp -v samplefile ...
0
votes
2answers
678 views

SCP command giving some path error

I want to copy an ISO image from my file server to my xen server using scp. I gave the below command in my xen server console but it gaves me error, dont know whats going wrong. Console on XEN server ...
1
vote
2answers
245 views

Recursively copying files

How can I copy *.txt files only from a directory and all its children directories? Say I have a folder A containing .txt files and subfolders B C etc that contain .txt files and so on and I just want ...