0
votes
2answers
26 views

Unable to scp from remote to local Mac

I have gone over SU and SO posts looking for a way to get this to work, but I'm about to put up my hands and stick with a GUI. I want to scp a ZIP file from a remote server to my local machine. I can ...
0
votes
0answers
20 views

scp to remote server permission denied [migrated]

I try to copy files to a remote server (OSXServer) using scp. I have 2 user accounts on that server with what I thought the exact same settings. Now I tried the copying files into the respective home ...
1
vote
0answers
16 views

Upload to SSH in XMODEM manner?

I know I can use scp command and copy any file whenever I can come with ssh client. But let see in more detail. Suppose I have ALREADY logged in with ssh client. This means that I have ALREADY ...
0
votes
5answers
43 views

How can I run `make` and retrieve the binary from a remote host without `ssh`ing twice?

I'm working on a project for which I don't have the toolchain configured on my own machine and I'm thus developing remotely. My workflow right now looks as follows: open the remote project directory ...
0
votes
0answers
30 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 ...
1
vote
3answers
43 views

scp files between hosts through intermediate

I have access to 3 machines, A, B, and C. The only possible (ssh) connections are: A -> B A -> C I need to get files from B to C, I can only scp the files from A to B (on A: scp remote local), and ...
0
votes
2answers
46 views

Unrar local files to remote server

I have two Linux servers, one which has several RAR files and another empty one. I would like to extract the archives and move the content to Server 2. The problem is: I do not have enough storage to ...
0
votes
1answer
27 views

scp without leaving ssh

I happily use both ssh and scp. Quite often I am in an ssh session and I'd like to retrieve a file from my machine and put it in the directory I'm currently in without having to open a new terminal ...
0
votes
0answers
20 views

How to rsync merge two paths into one; opposite of --inplace

I have a large remote directory: remote://server/pathA/zupertoll And a large local directory that is 95% the same as the remote directory: local:///home/pathB/zupertoll I want to copy zupertoll to ...
0
votes
0answers
48 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 ...
0
votes
2answers
100 views

SCP is very slow

I am renting dedicated server in a leaseweb and trying to transfer tar files from leaseweb's server to my HOME NAS, but the problem is - max upload speed i get is 180kb/sec, though when i try to ...
0
votes
2answers
59 views

Unable to send files via SCP

I tried using the scp command with the -i option to transfer the file from local machine to remote EC2 instance: Akhis-Macbook-Pro:~ aswinakhilesh$ sudo scp -i Mykey.pem FileA ...
0
votes
0answers
280 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
2answers
191 views

Copy file from local host to remote host

This answer must exist somewhere as it's so basic, but I can't find it. I have a file on my local computer that I want to copy to a remote host. I know how to use scp, but if I do it from my local ...
0
votes
1answer
36 views

Tab Completion Broken on SCP with OpenSSH 1:6.2p2-6ubuntu0.1

Here is my scenario: I want to transfer ~/foo.txt to a server aoneill@bar. I start typing in my command line: aoneill@aoneill-Laptop:~$ scp fo At this point I hit <tab> to complete the file ...
-1
votes
1answer
35 views

SCP using SSH config?

I'm looking to SCP a file on a remote host which I usually would SSH into. I have a config file setup when I SSH which saves alot of time and typing. I'm trying to do something similar for SCP in that ...
0
votes
1answer
144 views

.zip file got corrupted while scp through 2 linux servers

A .zip file was copied by scp command from a Linux server to another Linux server and the zip file got corrupted and showed the following message. "Unzipping the list file failed. Unexpected end of ...
2
votes
1answer
281 views

Rsync very slow

I have just setup a Debian server for backup of Windows PCs. I am currently testing various methods including: rsync (using Deltacopy on Windows), SMB via Samba and scp. Currently rsync (without SSH ...
2
votes
1answer
231 views

SCP - “not a directory” - What am I doing wrong?

On my remote server I have a file named .bash_profile, that file has nothing inside. I wish to copy a local copy (with something inside) to the remote destination. (overwrite) So I do: scp ...
0
votes
1answer
63 views

Log in using SSH without password

On my server, I've got openssh-server and a special account without password. I'm creating a shell script, that must be used without user input. For example $(ssh dummyUser@dummy.com) I need script ...
0
votes
1answer
115 views

SSH shell on a multicore supercomputer [closed]

I created a program on my 2 core laptop and I want to verify how my program performs when more than 2 cores are available for processing. Do anybody knows any free (or cheap) service where I can ...
3
votes
1answer
90 views

Differential copy from Windows to Linux

Is there any way to do differential copies of a directory from Windows to Linux over ssh, sftp, scp, or similar? Preferably not rsync since they are all cygwin based and force you to use the ...
3
votes
2answers
1k views

scp between two remote hosts from my local

I have two remote hostes. host1-> 10.3.0.1 host2-> 10.3.0.2 Both are installed with ssh and scp. In my scanario, ssh and scp listen to port 22 in host1 and in host2 it is port 6969. Now, using my ...
0
votes
0answers
73 views

How to properly use SCP to copy from remote to local?

I am trying to copy a file from a remote windows machine onto a local linux machine, but cannot seem to get the syntax right. For some reason, whenever I use SCP, it is just creating a new local copy ...
0
votes
0answers
26 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
1answer
177 views

How to automatically enter user password when prompted by terminal

If I am working in a terminal that is currently SSH logged in to a remote server user@node, and I want to transfer a file from local to that same server, I will run: scp ...
0
votes
1answer
51 views

Is it possible to connect these machines with ssh tunnels or another mechanism?

I am physically on a machine that is behind a firewall and cannot be ssh'd into. Let's call that PC. PC can connect out to two machines, one on AWS and one that is part of a vpn connection, call ...
1
vote
0answers
55 views

Using scp with an ssh connection - can I copy files directly between remote machines?

I have ssh'd into a remote machine and on that machine run scp to copy files from another remote machine. I assumed that the files would be copied directly between the two remote machines but the ...
0
votes
3answers
858 views

SCP not working in CRON job, only manually

I have a script on a remote server (bServer) which SSH's to a central server (let's call it cServer) and kicks a script which further SSH's to 2 other servers (server13 / server14). A script is run on ...
0
votes
0answers
205 views

SCP over NAT stalls at 2112KB

I have two systems (A and B) on different subnets, with one dual-homed box (C) that can see both. I use iptables DNAT on C to port-forward SSH to B, so that A can run ssh -p 12345 hostC to connect to ...
0
votes
1answer
277 views

Debian: What Are Permissions/User Requirement To scp From local server to remote server

I have two LANs with routers tunneled to communicate with my Debian servers over the Internet. That works fine. I can SSH with certificates so as not requiring password to connect local server1 user ...
5
votes
4answers
2k views

Are there other commands like scp but for deleting files and folders?

I am using scp to copy stuff to a remote location. But sometimes scp does not work as expected, I have found that sometimes the copy does not complete properly (possibly when I have added new files to ...
4
votes
1answer
3k views

How can I get the scp command to overwrite the destination folder

I am using the scp command to copy some files to a remote pc, as you do with scp :) I note that the default behaviour of an scp copy for files is to overwrite any existing files. Now I want to copy a ...
0
votes
0answers
109 views

how can I pass a windows path to Putty pscp?

how can I pass a windows path to Putty pscp? pscp -C -load sessioname c:\program files\some folder\some file.pdf username@anotherWindowsHostname:c:\program files\other folder. all the examples out ...
1
vote
1answer
48 views

Send files with scp while being logged on cluster interface

I have to do some work on a Torque cluster where I log on a User interface via ssh. I transfer files to my directory of the cluster and get files from the directory by using scp in my normal terminal ...
0
votes
2answers
385 views

scp “pipe” files via intermediate host

This is sort of a level-up from this question. Suppose that I am on computer A and want to send files to a computer C. We each have separate access to a host B. A and C can not communicate directly, ...
0
votes
1answer
86 views

scp files from a host via another host

I am on machine A, i can access machine B by ssh and from machine B to C via ssh. But i cannot access machine C directly from A. The problem is that i have to transfer a folder of size 5 GB to my ...
0
votes
2answers
74 views

SCP long directories

Im wondering what the quickest way for this is On my local computer I have a file in /some/long/path/name When i have SSH'ed into another machine I decide I want the local file to go in ...
0
votes
0answers
132 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 ...
1
vote
2answers
343 views

Script for transferring files over the internet via a Cron task

I want to add a bit to a backup script that will transfer a file to another server, over the internet. My cron currently does a pg_dump of a database into a file on the local machine, I want to then ...
-1
votes
2answers
2k views

How to copy files from remote machine (ubuntu) to local machine (windows)?

I would like to know about two ways: scp and rsync and how exactly they are used to copy files. I tried doing scp ubuntu@ip-10-124-83-21:/home/* /home/ubuntu/crockonjs-2-hd.mov but it didn't work. ...
1
vote
2answers
198 views

Copying files over ssh without password

My supervisor has given me remote access to his computer by logging in through ssh on my local computer. Although I am connected (and can view any files I wish through vi, emacs), how can I copy ...
0
votes
1answer
90 views

ssh/scp from client to target through proxy

I have a target host and proxy host and client host, the client host could not connect to the target host directly, even with command ping. I am wondering if there is anyway for me to ssh or scp from ...
2
votes
3answers
602 views

Deploying .war file on java application server only when file has finished being uploaded on a linux box

This problem happen quite frequently while uploading a .war or .ear, that are just little more than .zip file, to a remote server, and have it deployed by the application server. Usually, at ...
2
votes
1answer
488 views

Run ssh/scp without .ssh directory or with alternate dir?

I'm inside chroot, and everytime I scp it keeps telling me: bash-4.2$ scp user@example.com:somefile . Could not create directory '/.ssh'. Host key verification failed. Obviously, I have no means ...
0
votes
1answer
51 views

What's the most seamless way to work over ssh on OSX?

There's something just wrong about scp'ing every file you've changed. I normally use Sublime Text 2 - is there an editor or something that can upload files right as they are changed via scp? If not, ...
2
votes
1answer
122 views

SSH file transfers using ssh-keygen

I am a casual linux user but I am having a some difficulty understanding some directions sent to me from a company we provide data to. They want us to use ssh (which I have used before) to transfer ...
0
votes
3answers
111 views

SSH and SCP giving error

I am doing the same steps (Perform SSH and SCP Without Entering Password on openSSH). But it keep asking password prompt while scp or 'ssh -l' command run. Same steps i did few days back, it was ...
1
vote
2answers
803 views

scp over ssh tunnel

I want to copy files from a remote computer (W) to a private host computer (P) via scp. Since i can't connect to machine W directly i use an ssh tunnel over 2 different machines with port 22. What i ...
0
votes
3answers
72 views

Ubuntu SSH communcation

I have installed to 2 Ubuntu on VMware and i m trying to communicate between 2 machines using ssh. I made the following changes Updated the etc/host files on 2 machines Master and Slave with ips ...