SCP (Secure CoPy) – is a remote file copy program, that copies files between hosts on a network. It uses SSH for data transfer, and uses the same authentication and provides the same security as SSH. When copying a source file to a target file which already exists, SCP will replace the contents of the […]
ssh
Fast Connection with SSH Aliases
If you need to regularly connect to a lot of different servers over SSH, this trick is for you. Editing SSH configuration file and adding SSH aliases will make the process of the remote connection much more convenient. Edit SSH configuration file for current user: $ vi ~/.ssh/config or edit the main configuration file, if […]
SSH with Public Key-Based Authentication
To improve the system security and to enable running automated maintenance tasks on other machines, you can use the key-based authentication instead of standard password authentication. Key-based authentication uses two keys, one “public” key that anyone is allowed to see, and another “private” key that only the owner is allowed to see. To securely communicate […]