1
vote
2answers
37 views

copy between remote server with local authentication

When I need to copy some files between two remote servers, I usually scp -3 user@server1:path user@server2:path unfortunately, since that routes traffic through my machine, that is very slow when ...
0
votes
2answers
42 views

how to enable scp only on public interface and ssh only in internal interface

Server A has a public ip and a private ip, each on another vlan and thus on another virtual interface. How can I enable scp only on the public ip and ssh only on the private IP, for all users. Kind ...
0
votes
1answer
48 views

scp to remote server permission denied

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
1answer
97 views

Securely copying files between two remote servers

I am trying to copy (scp) files from one remote server to another remote server. The remote servers are running Ubuntu and are using SSH authentication. The servers synchronise with LDAP, and all ...
0
votes
1answer
36 views

Cannot remote copy file via tunnel [closed]

I'm trying to get a file from server1 (localhost) with scp. I am accessing server1 from the gateway server2 (that is the only one accessible from the internet). I am able to open a ssh connection by ...
0
votes
1answer
155 views

MaxStartups and MaxSessions configurations parameter for ssh connections?

I am copying the files from machineB and machineC into machineA as I am running my below shell script on machineA. If the files is not there in machineB then it should be there in machineC for sure ...
1
vote
2answers
524 views

scp using a password on the command line

I am trying to write a script that will deploy a build created on my desktop machine (windows/cygwin) to a machine in my test environment (linux). I would like to use scp to copy the build to the ...
0
votes
0answers
759 views

freeSSHd SCP Linux to Windows Fails with “exec request failed on channel 0”

Windows has freeSSHd installed. Logging in with ssh from Ubuntu 14.04 LTS via SSH using Windows Login credentials works fine. Logging in with SFTP also works fine. This test is being run from a ...
0
votes
2answers
35 views

SCP version of - ssh -A -t -l root 192.16.4.9 ssh -A -t node-17

I'm on a vpn. I ssh to a machine through another machine like so ssh -A -t -l bob 192.16.4.9 ssh -A -t node-17 I now need to scp a file from node-17:/tmp/something. How can I do the above in one ...
-1
votes
1answer
898 views

SCP corrupted MAC on input

I have SCP and SFTP transfers failing from my linux VPS server (CentOS6.5) to my local desktop Mac. The transfer starts buy fails within the first minute with the error message - "Corrupted MAC on ...
0
votes
0answers
180 views

SCP and SSH do not work from PC in another subnet

I've posted this question on stackoverflow and was recommended to try this forum instead. I have Ubuntu guest running on VmWare hosted by Windows 7. I tried to scp a file from a server PC to my ...
0
votes
0answers
128 views

scp cannot transfer file?

This problem is i cannot transfer file from my computer to server. I use command scp -v ./1.cap ug01:/cshome/twu5/, it take about 3 mintus, but scp did nothing. Then i terminal the scp. Here is the ...
0
votes
1answer
88 views

How to get password prompt from scp when launched remotely via ssh

When I ssh to a remote system and execute scp, I do not get a password prompt: # ssh 192.168.1.32 "scp joe\@192.168.1.31:/etc/hosts /tmp" Permission denied, please try again. Permission denied, ...
0
votes
0answers
133 views

Scp fails in one direction for admin but is successful with root user

I am able to do a scp from one server to anoher using a particular user but the same user is not able to send files back to the first one. I used scp -vv and the detials look as below: Executing: ...
0
votes
1answer
88 views

PSCP Command Errror

Can anybody explain what i am doing wrong here. I am trying to copy an entire directory up to a remote server. "c:\Program Files (x86)\PuTTY\pscp.exe" -l mleyland -pw Password5 -p ...
1
vote
3answers
622 views

scp stuck when trying to copy files from Linux to windows

I use the following scp syntax in order to transfer allot of files from Linux red-hat 5 to windows machine ( under Temp directory ), Remarks: SSH server already installed on windows machine I use ...
0
votes
1answer
461 views

scp returns Exit status 1

In a LAN I have two PC, both running Ubuntu 13.04. There is a directory which is in a shared folder (samba, guest access) in the first PC. I have tried to copy this directory to the second PC through ...
-1
votes
2answers
542 views

SCP Asking for Password with RSA Key

I've followed a few tutorials on setting up RSA Public Key Authentication, but I cannot seem to get it to work. I can SSH into the remote machine without a password, but when I try and scp files, I ...
1
vote
6answers
522 views

Secure file transfer in linux without SSH?

First thing i want to apologize if this question is silly or something...i just tried to research but it seems to be a bit hard to find exactly what i want in Google ! [or i'm not smart enough to find ...
-2
votes
1answer
308 views

~/.ssh/known_hosts file - how to set it up? [duplicate]

I'm trying to SCP a file from my server to another server. The command I'm using is: scp -i private.ppk -P 22 foo.txt someuser@domain.com:/home/someuser/foo.txt When I run this via the command ...
1
vote
1answer
79 views

Copying files over chained SSH connection

I am using a remote server and want to copy files from the server. When using the server, I need to log in with 2 steps. ssh username@A after loging into server A, I need to log in again. ssh ...
1
vote
1answer
131 views

Retain agent-forwarding in sudo

I want to be able to connect to a server, start a sudo shell, then use agent forwarding to connect to another server (in order to use SCP to copy files to a protected area). But: ...
2
votes
2answers
446 views

Linux to windows ssh/scp/sftp differential backup solutions?

Here is the setup: Large amounts of large files (many over 4gb, multiple TBs in total) in a simple tree structure that need to be backed up without compression from a handful of linux boxes to a ...
0
votes
1answer
2k views

Why my scp is working one side only? “Lost connection” SCP transfer

I'm trying to transfer a file via ssh but it works only from PC1 to PC2 but it doesn't work backwards. I've checked my ssh_config files and both are the same. Which is basic: Host * SendEnv LANG ...
3
votes
1answer
318 views

Is it possible to force SFTP rather than allow SCP fallback ?

I have a Red Hat 5.4 server with openssh OpenSSH_4.3p2 and have been trying to setup scp/sftp logs in my server, but I am running into some problems. I followed the directions in this other post. ...
3
votes
1answer
241 views

The Right Way to setup SSH keys to automate scp

I want to setup SSH keys to automate scp jobs. My current assumption is that "automate" implies SSH keys without a password, but I am open to your suggestions. I did a lot of Googling before I asked ...
0
votes
1answer
90 views

passwordless scp without keys

I am looking for some option that will allow me to accept files from any server using SCP command. I am aware of the process of creating password-less logins. But what I am looking for is an option on ...
0
votes
1answer
122 views

How can I refer to my machine (client) when remoted in to a server via ssh?

This comes up with surprising frequency: I am on a server or other machine via ssh. I want to scp or rsync some files back to my client machine. The problem is that I am behind a firewall and I don't ...
1
vote
5answers
332 views

Setting up SSH Key securely for SCP/rsync to run without password

This is how I am currently doing it: # ssh-keygen -t dsa -b 1024 -f /root/localhost-rsnapshot-key Enter passphrase (empty for no passphrase): [press enter here] Enter same passphrase again: [press ...
0
votes
1answer
1k views

can not connect through SCP, but SSH connections works

i am trying to connect to my server to transfer file using scp: $ scp -v -r -P <port> <user>@<host>:~/dir/ dir/ this is the output: OpenSSH_5.2p1, OpenSSL 0.9.8r 8 Feb 2011 ...
1
vote
2answers
297 views

Cannot log in to bash

I was trying to install ncurses on a virtual Debian server on VMware and somehow was unsuccessful. After logging out of the console, I realized that I could not log in anymore. I cannot use tools such ...
1
vote
2answers
2k views

scp to remote servers stalls, unable to isolate cause

When I copy a large file (100+mb) to a remote server using scp it slows down from 2.7 mb/s to 100 kb/s and downward and then stalls. The problem is that I can't seem to isolate the problem. I've ...
0
votes
1answer
589 views

file transfer with ssh pipe; without scp

Scenario: I'm having about hundred odd text files which are compressed as .gz. They need to be transferred to a remote server. I do not want to use scp. Both, linux servers. my requirement/my idea: I ...
0
votes
1answer
41 views

scp not downloading file in the proper location

So I'm SSH-ing into a server and trying to download a file to my local machine using scp: scp user@remotehost:/path/to/file/filename . But the file ends up downloading in the home directory on the ...
0
votes
4answers
208 views

How can I send single file to multiple remote sites at the same time?

can scp be used to send single file to multiple remote servers at the same time? If so what's that? if not, what's the alternative?
1
vote
1answer
271 views

Vim SCP parameter with private public key pair

Currently, I am trying to edit a file on a remote server using Vim's built-in netrw plugin. I can SSH fine into my Amazon EC2 server using a command like this: ssh -i <keyfile> ...
7
votes
4answers
3k views

OpenSSH anything like 'internal-sftp' but for SCP?

I'm running Debian stable and I'm looking to establish the following environment for users in my 'sftponly' group: jailed can transfer with SFTP can transfer with SCP cannot login interactively with ...
0
votes
3answers
2k views

Linux SCP File transfer No space left on device?

I am trying to transfer one zip file from a linux based machine to a Windows based using SCP. I can go through the transfer ok but when it completes it says "No space left on device". The ...
6
votes
1answer
1k views

Reliable file transfer over slow or flaky network link

I need to transfer a number of files files over a low-quality broadband link to a server. The files are large, and take approximately 30 minutes to transfer per file. I use scp, but it sometimes ...
2
votes
2answers
248 views

Download files from server while logged in via ssh

I have root ssh logins disabled on my server, but I currently want to back up some files owned by root onto my my local box. I am trying to figure out a way to use SCP to retrieve files while logged ...
1
vote
5answers
454 views

Fast Internet Backup

We wish to install some servers in a remote datacentre to act as a backup storage location for our primary datacentre. Assuming that both sites will have GigE connectivity, what is the best method to ...
0
votes
2answers
439 views

Download big files from ESXi?

I want to move one of my vm guest between two ESXi servers. I can't do this with converter or Veaam FastSCP because I'm in another network and using this tools is extremly slow. So I'm trying to copy ...
2
votes
2answers
2k views

scp to AWS EC2 - error - “Please login as the user ”ubuntu“ rather than the user ”root“.”

I'm trying to scp a file to /var/www because I'm playing with apache. To move the file I do scp -i <ec2-shh-key> localfile root@<ec2-instance-ip>:/var/www/fileremote. But this gives me an ...
2
votes
1answer
420 views

Limit scp (with sshd on centos) speed / rate

I'd like to let users download / upload files via scp to my centos 6.0 system, it's connected to lan via Gigabit ethernet, but I don't want transfers to flow at that speed. I want to limit the speed ...
0
votes
0answers
622 views

Torque: Unable to copy output and error files to the submission dir

I'm using torque-mom-3.0.3 on Fedora 16. I'm completely newbie about of torque and I'm testing a pbs_server on a virtual machine an a pbs_client on the host. pbs_mom complains as follows on node ...
1
vote
1answer
378 views

Using command in ssh authorized_keys breaks scp

I would like to use command per key in authorized_keys to set some environment variables. command="MYVAR=test $SHELL" ssh-rsa mykey Shell works fine but scp is not working. What would be the ...
0
votes
1answer
312 views

scp (ssh) fails the first time, works the second time

We have a debian testing server. When I am trying to access the server with scp it doesn't work the first time - the client says, that the remote host closed the connection. When i try the same action ...
-1
votes
2answers
172 views

Transfer files on SSH to Desktop [closed]

Based on the tutorials I've browsed through: This is the Linux scp command syntax to retrieve file or directory from a remote computer: scp -r [login name@ip address] : [/path/filename] . So ...
2
votes
3answers
2k views

ssh login successful, but scp password gives me “Permission denied”

I'm trying to get some blogging software up on an organizational remote server. I tried to set up a SSH Key but was having problems and decided that getting the blog up and running was more important ...
0
votes
2answers
899 views

How to use directory autocompletion with scp

I use the authorized-key to log into my remote ubuntu server. I need to use scp frequently to cp files from my local machine to my remote machine. I want to enable the autocompletion as I did with my ...