If you regularly ssh to same system, ssh-copy-id allows you to login to the system directly without having to type the password each time. ssh-copy-id is a small script which copies your ssh public-key to a remote host. It appends the key to your remote authorized_keys enabling you to login without having to type your password each time.
Use it by running the following command: ‘ssh-copy-id email@example.com‘ where ‘tech’ is the username of the remote system and ‘192.168.1.1’ its IP address. The command will ask you for the remote machine‘s password(one last time).
$ ssh-copy-id firstname.lastname@example.org
Now try logging into the machine, with “ssh email@example.com“. You should get the remote systems command prompt.