![SSH keys authenticate users and hosts in SSH. They are used for single sign-on and machine-to-machine access. Security and convenience! SSH keys authenticate users and hosts in SSH. They are used for single sign-on and machine-to-machine access. Security and convenience!](https://www.ssh.com/hubfs/Imported_Blog_Media/SSH_Key_-_Authentication_Using_SSH_Keys-2.png)
SSH keys authenticate users and hosts in SSH. They are used for single sign-on and machine-to-machine access. Security and convenience!
![Generating key pair using PuTTygen, and setting up your public key to server | Zengaku Computer System, A.C.C.C., University of Tsukuba Generating key pair using PuTTygen, and setting up your public key to server | Zengaku Computer System, A.C.C.C., University of Tsukuba](https://www.u.tsukuba.ac.jp/wordpress/wp-content/uploads/2017/04/puttygen04.png)
Generating key pair using PuTTygen, and setting up your public key to server | Zengaku Computer System, A.C.C.C., University of Tsukuba
![How to generate a SSH key and add your public key to the server for authentication | AdamDeHaven.com How to generate a SSH key and add your public key to the server for authentication | AdamDeHaven.com](https://www.adamdehaven.com/images/themed-illustrations/online_protection.png)