The access restriction by IP is a main feature of web server like Apache. You can specify easily, whom have access to a page and whom haven't, from the IP.
How to block / allow an IP in .htaccess ?
Require all granted Require not ip 192.168.1.2 Require not i...
The objective of the generation and export of the SSH keys is the possibility to connect to the server without typing a login / password.
On the server,
.ssh directory must be present in home directory of the user used by the client. For instance, if the client use
vincent account to...