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

learn more… | top users | synonyms

0
votes
0answers
30 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 ...
-1
votes
0answers
39 views

How to perform SCP using Chef automation tool?

I want to copy a "tar" file (JAVA tar ball) from Chef Workstation to Chef Node. How can I achieve that? I tried with these block of Ruby scripts (default.rb) but its of no use 1. excecute ...
0
votes
0answers
12 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 ...
2
votes
2answers
51 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
77 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
657 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
264 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
38 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
387 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/ ...
2
votes
2answers
376 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 ...
25
votes
4answers
3k views

Can someone explain tilde usage?

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 ...
0
votes
1answer
141 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 ...
1
vote
1answer
139 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 ...
6
votes
4answers
4k 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
103 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
391 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
65 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 ...
1
vote
1answer
173 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
65 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
71 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
288 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
711 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
569 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
423 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
874 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 ...
0
votes
1answer
103 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
210 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
139 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
53 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
388 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
760 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
194 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
350 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 ...
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
520 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
688 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 ...
12
votes
1answer
41k 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
227 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
587 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
224 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 ...
0
votes
1answer
2k views

SSH->SCP connection without password prompt on every attempt

I would like to have a loop script run over two machines (with global IP), in which during the loop I have several scp command for exchanging the outputs of those executions. Do we have a way to ...
0
votes
1answer
61 views

SCP files from machineB to machineA by logging into machineA [duplicate]

I am trying to scp the files from machineB to machineA. I need to run the scp command from machineA to copy files from machineB to machineA. The file that I need to copy from machineB is - ...
0
votes
2answers
340 views

Copying only files without extension via scp

I have a strange situation that I need to solve. In a server I have several files stored, which are named: Area01 Area01.hst Area01.rst ... Area02 Area02.hst Area02.rst ... etc. With some other ...
0
votes
1answer
116 views

Issues with SCP

I am having problems with my scp command on Ubuntu 12.04. I can't SCP anything to my AWS server with Ubuntu 13.10. The terminal tells me that I am scp: /index.html: permission denied. What am I doing ...
0
votes
0answers
35 views

Why is scp failing with Permission Denied? [duplicate]

I would like to upload my website files to my server. I use : scp localPath username@ipAddress: server_path Is it correct? After enter the password, it shows Permission denied. why?
0
votes
1answer
73 views

Move two levels higher over SCP

I am scping into a virtual server and need to copy some files into the /var/www/ directory so apache2 can serve 'em up. However, by default, the files that I upload go into the users dirctory. I need ...
0
votes
1answer
58 views

Move a partition out from under scp: why does it carry on?

I was downloading, using scp, a large file from "remote" to "myserver"; it is taking a few hours. It is/was downloading to "~/stuff/". Let's call it "x.tgz". Then, forgetting about that, a little ...
0
votes
1answer
3k views

SSH scp between Ubuntu Server 12.04 and Windows failing - (prob syntax)

I was trying to use scp to copy files from my Windows system to my Ubuntu server, and vice versa. As you know, when defining a path in Windows, "\" must be used instead of "/", and a "C:" at start. ...
6
votes
2answers
1k views

xubuntu xterm strange lag/echo issue with ssh

I have a xubuntu box and using its terminal everything is fine locally; but when I ssh to any server, the remote echo seems to be holding the last line until a key is pressed or the window is resized. ...