Blog
Prihlasovani na server v interntu BEZ pomoci hesel ale s POMOCI vygenerovaneho RSA klice
DŮLEŽITÉ!
Only the public key is copied to the server. The private key should NEVER!!! be copied to another machine.
Key Pair - Public and Private
In the SSH public key authentication use case, it is rather typical that the users create (i.e. provision) the key pair for themselves.
SSH implementations include easily usable utilities for this (for more information see ssh-keygen and ssh-copy-id).
Each SSH key pair includes two keys:
1. A public key that is copied to the SSH server(s). Anyone with a copy of the public key can encrypt data which can then only be read by the person who holds the corresponding private key.
Once an SSH server receives a public key from a user and considers the key trustworthy, the server marks the key as authorized in its authorized_keys file.
Such keys are called authorized keys.
Strana 118 z 183