Server side
mkdir -p ~/.ssh chmod 700 ~/.ssh
Client side
ssh-keygen -t rsa ssh-copy-id -i ~/.ssh/id_rsa.pub user@server

An eastern european proverb says that in order to give a deeper meaning to one’s life, in the course of our life it is necessary to build a house, give birth to a child and plant a tree.
Feel free to contact me contact me.