SCP (Safe Copy) Command is used to copy a secure file (s) between servers. It allows the SCP command or secure copy of the secured exchange that secured files between the local host and the remote host or with two remote hosts. This uses the same authentication and security as the Safe Shell (SSH) Protocol. SCP is known for simplicity, security and pre-installed availability.
These are the certain Options:
SCP (Safe Copy) is a command-line utility that allows you to secure files and directories in between two places. With SCP, you can copy a file or directory:
To copy a local file to a remote system with the SCP command, we can use the following syntax:
scp file.txt remote_username@10.0.2/remote/directory
Here is the file name for the file we want to copy. The text is the user in the remote server; the 10.10.0.2 server is the IP address. You are the path to the file's directory you want to copy the file / remote / directory. If you do not specify a hidden directory, the file will be copied to the remote user's home directory.
You will be asked to enter the user password; the transfer process will be started.
To capture a file to a local system, use the remote location as a source and local place.
|