You can securely copy files or directories between remote hosts and local machine. The scp command transfer data using SSH, so it needs a password or passphrase for authentication. To transfer files to an EC2 instance without using a password, you can use SSH key pairs for authentication.
Continue Reading...