How-to
Generate a pair of key
ssh-keygen -t rsa
make sure the generated file located on ~/.ssh
ssh-copy-id -i ~/.ssh/id_rsa.pub username@ip-addr
make sure you've enable PubkeyAuthentication on the /etc/ssh/sshd_config file
optionally, you can disable PasswordAuthentication if you are pretty sure to not login from other non-authorized device
Bonus
Make the login process more easier by just typing ssh serper.
edit file ~/.ssh/config and append the following section:
Host serper
HostName ip-addr
User username
Port 22
IdentityFile ~/.ssh/id_rsa
RTFM - Read The Friendly Manual
scp(1)ssh(1)ssh_config(5)