How to make a connection via ssh between a local pc and a server, with method of authenticated by keys.
ssh
Among the options take a look at these posts:
SSH Authentication
Authentication by key