Posts of Tag: SCP
Using SCP to Copy and Securely Transfer Files and Folders
SCP stands for Secure Copy Protocol. It is a tool that can be used to transfer files from a local host to a remote host, from a remote host...Learn More
Copying a Directory with SCP
The Unix command scp (which stands for "secure copy protocol") is a simple tool for uploading or downloading files (or directories) to/from a remote machine. The transfer is done on...Learn More
how can i pass the password along with the scp command.when we use the scp protocol, it prompts us for the password.But i want to pass it as a parameter.Is that possible without using the key generation techniq...Learn More
I'm writing a "tool" - a couple of bash scripts - that automate the installation and configuration on each server in a cluster.
The "tool" runs from a primary server. It tars and distributes it's self (via SC...Learn More
I have a bash script that I use on a supercomputer (CentOS). This computer is setup such that there is a single node that has internet access (call it "connectedNode")-- and through this node, all the other nod...Learn More
I am trying to copy a files from host to created directory. Here is my script:
"file=s" => \$filename
my $src_path="/...Learn More
I'm trying to copy the first 100 directories from a remote server to my machine. The way I'm currently attempting to do this is:
scp -r $server:"$(ssh $server "ls...Learn More
I want to download a the end of a log file from my dev machine at home to my local machine, the last 1MB. Is this possible?
I want to be able to transfer my application to the development server but in order to access it I first have to ssh to an SSH gateway and then ssh into the internal network to the appropriate server. I can do ...Learn More
I'm working on a python script that monitors a directory and uploads files that have been created or modified using scp. That's fine, except I want this to be done recursively, and I'm having a problem if a use...Learn More
I am currently using the following command to upload my site content:
scp -r web/* email@example.com:site.com/
This works great except that the .htaccess file is not sent. Presumably, this is because it's hidden.
I am trying to implement a very simple file transfer client in python using twisted conch. The client should simply transfer a few files to a remote ssh/sftp server in a programatic way. The function is given u...Learn More