To connect to our server using our public key we do the following in our Linux machine:
First we generate a ssh key with the command ssh-keygen
Then we copy our public key to our Linux server with ssh-copy-id -i ~/.ssh/id_rsa.pub a01225953@10.40.53.3
And that’s all now we can connect to our server ssh a01225953@10.40.53.3