Question 572 of 730 from exam SY0-601: CompTIA Security+

Question 572 of 730 from exam SY0-601: CompTIA Security+

Prev Question Next Question

Question

DRAG DROP - A security engineer is setting up passwordless authentication for the first time.

INSTRUCTIONS - Use the minimum set of commands to set this up and verify that it works.

Commands cannot be reused.

If at any time you would like to bring back the initial state of the simulation, please click the Reset All button.

Select and Place:

Commands SSH Client
chmod 644 ~/.ssh/id_rsa

chmod 777 ~/.ssh/authorized_keys

ssh-keygen -t rsa

scp ~/.ssh/id_rsa user@server:.ssh/authorized_keys

ssh-copy-id —i ~/.ssh/id_rsa.pub user@server
ssh -i ~/.ssh/id_rsa user@server

ssh root@server
Commands
chmod 644 ~/.ssh/id_rsa
chmod 777 ~/.ssh/authorized_keys

ssh-keygen -t rsa

scp ~/.ssh/id_rsa user@server:.ssh/authorized_keys

ssh-copy-id -i ~/.ssh/id_rsa.pub user@server
ssh -i ~/.ssh/id_rsa user@server

ssh root@server

SSH Client

ssh-keygen -t rsa

ssh-copy-id —i ~/.ssh/id_rsa.pub user@server

chmod 644 ~/.ssh/id_rsa

ssh root@server

Explanations

DRAG DROP - A security engineer is setting up passwordless authentication for the first time.

INSTRUCTIONS - Use the minimum set of commands to set this up and verify that it works.

Commands cannot be reused.

If at any time you would like to bring back the initial state of the simulation, please click the Reset All button.

Select and Place:

Commands SSH Client
chmod 644 ~/.ssh/id_rsa

chmod 777 ~/.ssh/authorized_keys

ssh-keygen -t rsa

scp ~/.ssh/id_rsa user@server:.ssh/authorized_keys

ssh-copy-id —i ~/.ssh/id_rsa.pub user@server
ssh -i ~/.ssh/id_rsa user@server

ssh root@server
Commands
chmod 644 ~/.ssh/id_rsa
chmod 777 ~/.ssh/authorized_keys

ssh-keygen -t rsa

scp ~/.ssh/id_rsa user@server:.ssh/authorized_keys

ssh-copy-id -i ~/.ssh/id_rsa.pub user@server
ssh -i ~/.ssh/id_rsa user@server

ssh root@server

SSH Client

ssh-keygen -t rsa

ssh-copy-id —i ~/.ssh/id_rsa.pub user@server

chmod 644 ~/.ssh/id_rsa

ssh root@server