SSH and Some Linux Commands
What’s public key and private key (in my understanding) Public key and private key are generated pairwisely. Only each other can decode the other. One of the pair can be the lock and the other can be the key.
SSH connection process Client sends a request Server receives the request and send pub_key to client client uses the pub_key to encrypt password and send back Server decodes it using private_key Core: use server’s public key to encrypt user’s password.