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

learn more… | top users | synonyms

1
vote
1answer
82 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 ...
4
votes
4answers
1k 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
41 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
33 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
33 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
65 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
58 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
49 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 ...
2
votes
0answers
143 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
373 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
158 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
201 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
131 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
54 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
138 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
61 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
37 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
124 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
307 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
86 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
969 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
221 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
1k 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
346 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
413 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 ...
6
votes
1answer
17k 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
145 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
438 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
179 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
1k 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
53 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
239 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
102 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
34 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
63 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
47 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. ...
2
votes
3answers
476 views

SSH and SCP help

I'm a university student, and very new to ssh and scp... and new to programming. The newest assignment given to us requires accessing libraries that are only on the student server at university. To ...
1
vote
1answer
630 views

Transfer a file from remote server to remote server

I am trying to transfer a file from Site5 to Godaddy web hosting account. The godaddy webhosting account is the one that comes free with the domain, so no ssh acccess. sudo scp -v ...
11
votes
3answers
61k views

Using scp to copy files from remote to home machine

This is probably a simple error, but I can't work it out. My computer hostname is Felix (hostname -f returns Felix) I am trying to move a file from my university account to my home computer using scp. ...
0
votes
0answers
8 views

SCP stalls only wen limiting bandwidth [duplicate]

When I don't limit my bandwidth it works fine, but I want to limit my bandwidth otherwise no one else on the network can access the internet because I am using up every available byte of bandwidth, ...
0
votes
2answers
17k views

Copy files from remote Ubuntu to local Mac

I've searched all around and can't seem to find this... I'm trying to copy a private key to my local machine which is a Mac. When I fire up terminal on my mac, I get Jamies-iMac:~ jamie$ So after ...
1
vote
0answers
267 views

How to trace all the file transfered into my ubuntu server

I just started a task and I'm trying to get a list of the all file transfer that is happening on my server, from outside the server, mean user sending file through ftp or scp just, This task is just ...
1
vote
1answer
80 views

scp autocompletion displays websites as well as file names

When using autocompletion it reveals web sites and file names. So if i type scp goo and then type the Tab key it displays gooey.zip goo.freelogs.com: googleads.g.doubleclick.net: google.tucows.com: ...
2
votes
1answer
1k views

How do I copy files with SCP to /var/www?

I need to copy files from my computer to my server's folders in /var/www so they are uploaded to my cloud. Here's what I try to do: I open my computer's terminal and type: scp ...
4
votes
2answers
14k views

Copy files from a server via ssh to dropbox.

I have a user in a linux server (Debian) with ssh access, and have some files on it. I need to copy the files to my Dropbox. but I donot want to copy to my Dropbox in my PC and Laptop, I want to first ...
2
votes
0answers
111 views

who is scping your ssh server

Just you can run w to find who is sshing into your server, how can you find out who is scping into an Ubuntu laptop?
0
votes
1answer
68 views

Copy app to Rackspace from Different Network

I want to copy files from my system to rackspace (aws), ( there is a way to use scp but i am in my office network, rackspace bought at aws), any package is there ? for this need. Help me to copy my ...
1
vote
1answer
134 views

How to solve the access permission problem for any folders in ubuntu?

How to do I solve the access permission problem for any folders in Ubuntu?? I am currently trying to copy a folder from one Ubuntu to another Ubuntu machine using "scp" command. scp -r foldername ...