This is an old revision of the document!
This is an extension of How to login into shell via PuTTY/Windows, How to login into shell via Macintosh and How to login into shell via Android using Termux
Secure SHell (SSH) keys are essentially the use of manually generating a public-private key pair to perform the authentication. This allows users or programs to log in without having to specify a password.
More information can be found here https://en.wikipedia.org/wiki/Secure_Shell
For now, this page acts as a placeholder. Depending on your device, you may wish to refer to the following websites for more information on how to set it up.
$ pkg install openssh
$ ssh-keygen -t ed25519 Generating public/private ed25519 key pair. Enter file in which to save the key (/data/data/com.termux/files/home/.ssh/id_): [enter] or specify where you want to store both keys Enter passphrase (empty for no passphrase): Enter same passphrase again: Your identification has been saved in $HOME/.ssh/id_ed25519. Your public key has been saved in $HOME/.ssh/.ssh/id_ed25519.pub