Red Hat Interview Question

Describe how SSH private key authentication works

Interview Answer

Anonymous

Apr 12, 2012

The ssh-keygen command will generate an SSH keypair (by default, in your $HOME/.ssh directory). A keypair consists of two files: a private key (id_rsa or id_dsa) and the corresponding public key (id_rsa.pub or id_dsa.pub).

1