Page 1 of 1

Two users, bob on station1 and smith on station2, generated a public/private key pair using ssh-keygen to enable passwor

Posted: Sun Jun 11, 2023 3:58 pm
by answerhappygod
Two users, bob on station1 and smith on station2, generated a public/private key pair using ssh-keygen to enable password-less secure shell login between them. What would be their next step to accomplish the task?

A. Copy the private key of bob to station2:~smith and vice versa.
B. Copy the key pair of bob to station2:~smith/.ssh as public and private keys.
C. Copy the private key of bob to station2:~smith/.ssh/authorized_keys and vice versa.
D. Copy the public key of bob to station1:~smith/.ssh/authorized_keys and vice versa. E. Copy the public key of bob to station2:~smith/.ssh/authorized_keys and vice versa.