Questions tagged [scp]

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

Filter by
Sorted by
Tagged with
30
votes
4answers
9k 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 ...
96
votes
14answers
264k views

What is a program similar to WinSCP?

In Windows I use WinSCP to transfer files server-side. It has a very attractive feature that I like best: keeping remote folders up to date. This means, whenever my local file is changed, WinScp ...
47
votes
3answers
252k 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. ...
6
votes
4answers
59k views

How to copy (or move) files from remote machine to local machine?

I SSH tunneled from my local Ubuntu machine to a remote Ubuntu machine and I want to copy/move files from the remote Ubuntu to the local one. I need to do that from within the SSH session (i.e, from ...
82
votes
1answer
325k 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 ...
3
votes
1answer
527 views

scp \033H message

Having a weird scp issue: $ scp user@server.org:~/test.txt ./ Password: \033H \033H \033H \033H \033H \033H \033H \033H \033H \033H \033H \033H \033H \033H \033H \033H \033H \033H \033H \033H ...
93
votes
7answers
573k views

scp copy over ssh doesn't work - permission denied error, please?

It's driving me nuts! I just want to transfer one simple file from laptop to server. I'm using ubuntu on both machines. So I have: -rwxr-xr-x 1 sandro 414622 2011-10-14 23:42 sandrophoto-html....
10
votes
2answers
2k views

Is there any SCP program available for Ubuntu that does not require SFTP on a remote host?

I need a program that can manage files on a remote device running Linux using SCP. The remote device runs OpenWrt. On Windows there is a perfect one WinSCP. it is weird that there is no native program ...
2
votes
1answer
446 views

List all files then execute script with part of the filename

I'm looking to list all files in a folder: ABC123.cfg XYZ456.cfg EFG999.cfg The file names, without the .cfg relate to a remote server name, ABC123 etc. I want to copy a couple of files to each of ...
108
votes
4answers
140k views

Progress bar for scp command

Is there any way to display a progress bar while copying from server to local (or vice versa) using scp?
50
votes
4answers
220k 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 ...
19
votes
3answers
51k 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 ...
8
votes
1answer
11k views

Permitting scp but not ssh - without scponly

I'm migrating a Debian server to Ubuntu 16.04. One of the packages on the Debian server is scponly which acts as a shell and permits ssh connections for scp purposes only (not login or running ...
4
votes
1answer
9k views

How would you go about backing up a remote Ubuntu VPS via SSH?

So, as I said I have a VPS, Raspberry Pi and a plan, but I am in need of some advice, so here goes. I have a VPS with prgmr.com which I ahve up and running nice and smoothly without any issues. I ...
2
votes
1answer
2k views

Rename Duplicate Files when using SCP (Secure Copy)

I'm using scp to move files between servers on my network as follows... scp /folder/file user@<ip address>/User/Documents/Transfer ...however I don't want to overwrite duplicate files. Is ...
0
votes
5answers
522 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 ...
1
vote
1answer
2k views

how to use find in scp command

I would like to use scp command fo transfer some files from remote server to local machine. The problem I have is to find the files and then direct them to scp command. I don't want to generate an ssh-...