I am having an issue. I am using the SCP command to transfer files from my desktop of my mac osx too my virtual server. The thing is I ran the command and successfully transferred one file from my desktop over to the server, no problem. So i use the same command which is: scp filename_I_want_to_transfer user@serverip: So basically that
Tag: scp
Is it possible to copy files from local windows directory to remote linux directory?
I am using ssh on a remote linux machine from my desktop using putty. I want to copy a txt file which is in the desktop of my local windows machine to the remote linux directory. How can i do that using shell when i am logged in to remote machine using ssh? Thanks for the help! Answer Yes it
How to scp back to local when I’ve already sshed into remote machine?
Often I face this situation: I sshed into a remote server and ran some programs, and I want to copy their output files back to my local machine. What I do is remember the file path on remote machine, exit the connection, then scp user@remote:filepath . Obviously this is not optimal. What I’m looking for is a way to let
how to transfer data between local and remote server connected via intermediate server?
I can login by ssh -X servA from local, then ssh -X servB from servA To copy data from local to servB, I scp files from local to servA, then from servA to servB. Is it feasible to copy files from local to servB directly and vice versa? Answer You can use nc (net cat) as a proxy for ssh.
scp a folder to a remote system keeping the directory layout
I have a large directory tree with hundreds of nested sub-folders. I need to copy only 4 folders and their contents to a remote system, but I need to destination folder structure to be kept the same. E.G. I want to copy ./test/sub1/subsub1/* to a target such as user@system:~/test/sub1/subsub1/* but I do not want to copy subsub2 or sub2. I