Public key authentication is an alternative to password authentication, providing a more secure authentication method that allows users to avoid entering or storing a password, or sending it over the network. It is done by using the client computer to generate the key-pair (a public key and a private key), provide the public key to the server or the point-to-point, and have the public key installed on that machine.
|Public key install location||/home/aspera_user_1/.ssh/authorized_keys|
Run the following commands to install the client's public key:
$ mkdir /home/aspera_user_1/.ssh $ cat /tmp/id_rsa.pub >> /home/aspera_user_1/.ssh/authorized_keys $ chown -R aspera_user_1:aspera_user_1 /home/aspera_user_1/.ssh