Commands used in this tutorial
Create Public and Private SSH keys
ssh-keygen
Copy Public Key to Raspberry Pi
ssh-copy-id user@pass
Edit the config file
sudo nano ~/.ssh/config
Host pi
HostName 192.168.1.6
User pi
Add an alias to bash_aliases file
sudo nano ~/.bash_aliases
alias pi='ssh [email protected]'
Reload bash alias
source ~/.bash_aliases
To create permanent alias add the alias to bashrc file