SSH → Secure Shell
~/.ssh/authorized_keyscontains list of Public Keys. These keys are authorized to log into the system.
$ ssh-keygengenerates a SSH key in
id_rsawhich is the Private Key(Donot Share)
id_ras.pub→ Public Key (for sharing)
For Copying Public Key to Server
$ ssh-addadds your Private Key to the SSH Authentication Agent for sso
-Aflag enables forwarding of the SSH Authentication Agent