0
votes
2answers
73 views

Sudo and perform scp

Possible duplicate of scp to remote server with sudo I'm facing the following issue: A folder (with sub-folders) with files belonging to usr1:usr1 I login with another user usr2 usr2 can do sudo -u ...
0
votes
1answer
2k views

Sudo with scp - transfering local file to remote server using ssh

So I'm running the following command scp \desktop\myfolder\deployments\myfile.txt user@host:/path/to/whereyouwant/thefile In an attempt to transfer a file from my local windows 7 machine to a ...
29
votes
6answers
25k views

scp to remote server with sudo

I have a file on server A (which is behind a NAT so not directly addressable). The file needs to be copied to server B in a directory restricted to root. I have an account on server B with sudo ...
4
votes
2answers
9k views

How to perform SCP as a Sudo user [duplicate]

Possible Duplicate: scp to remote server with sudo What is the best way of doing SCP from one box to the other as a sudo user. There are two servers Server A 10.152.2.10 ...