0
votes
4answers
4k views

Copy a file to remote server(very Complicated)

I want to copy a file from my Ubuntu Desktop(user:vverma) to a server named fb3, please guide me regarding how to scp this? In order to reach fb3, i have to follow these steps:- ssh to server1 as ...
4
votes
3answers
5k views

incorrect permissions after copying over scp

I'm using cygwin in windows 7 to copy a directory to an ubuntu machine using this command. scp -rp -P 54322 /cygdrive/c/xampp/htdocs/. user@10.136.10.1:/home/user/somefolder/ After copying all the ...
5
votes
2answers
2k views

How can I copy a file to a new location, creating the directory as well

I want to cp a file to another directory but that directory doesn't exist yet. So I would do: mkdir /new_place cp the_file /new_place Can I do this in one? I imagine something like cp the_file -m ...
18
votes
2answers
19k views

Progress bar in scp command

Is there any way to display a progress bar while copying from server to local using scp(or vice versa)