exam questions

Exam SY0-601 All Questions

View all questions & answers for the SY0-601 exam

Exam SY0-601 topic 1 question 726 discussion

Actual exam question from CompTIA's SY0-601
Question #: 726
Topic #: 1
[All SY0-601 Questions]

DRAG DROP
-

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


INSTRUCTIONS
-

Drag and drop the MINIMUM set of commands to set this up and verify that it works. Commands may only be used once, and not all will be used.

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

Show Suggested Answer Hide Answer
Suggested Answer:

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
ArunRavilla
Highly Voted 1 year, 2 months ago
ssh-keygen -t rsa: Generates a new RSA key pair, creating both a private key (id_rsa) and a public key (id_rsa.pub). ssh-copy-id -i ~/.ssh/id_rsa.pub user@server: Copies the public key to the authorized_keys file on the remote server, enabling passwordless login for that user. ssh -i ~/.ssh/id_rsa user@server: Tests passwordless authentication by attempting to connect to the server using the private key. If successful, authentication will proceed without prompting for a password.
upvoted 42 times
Elle
1 year, 2 months ago
I don't comment a lot but this is money. thank you
upvoted 12 times
...
...
DarexTech100
Highly Voted 1 year, 6 months ago
Had my exam a few minutes ago. 24 Oct. 2023. This question was the 3rd of my PBQ. Has 82 Questions.
upvoted 26 times
...
Abdulaa
Most Recent 1 year ago
23 APR 2024 I took my exam and i passed with 776, this question was on my exam this website was very helpful, study it and understood the answer. GL.
upvoted 3 times
...
ID77
1 year, 1 month ago
ssh-keygen-t rsa ssh-copy-id -i ~/.ssh/id_rsa.pub user@server ssh root@server
upvoted 3 times
ID77
1 year, 1 month ago
Sorry, ssh -i ~/.ssh/id_rsa user@server must be the last one.
upvoted 5 times
...
...
Yomzie
1 year, 3 months ago
For reference:: https://www.strongdm.com/blog/ssh-passwordless-login
upvoted 2 times
...
MortG7
1 year, 3 months ago
sorry for going off topic, but does anyone have a list (and numbers) of the PBQ questions on examtopics that I can review
upvoted 1 times
Jay987654
1 year, 3 months ago
PBQ 153 155 156 157 725 726 731 733 734
upvoted 20 times
klinkklonk
1 year, 2 months ago
155-157 aren't PBQ
upvoted 1 times
...
...
...
Soleandheel
1 year, 5 months ago
Guys I just took the exam today and passed with a score of 800. 90% of the questions on the exam were from this dump. This was my first attempt and i have no IT background. If you study these questions, you will do well on the exam. All 3 of the PBQs were from this dump as well. If you've gone through these practice questions and feel comfortable with the content, i say don't wait anymore, go ahead and take the damn thing. Don't be afraid! 90% of the exam are the exact questions from this dump.
upvoted 22 times
saucehozz
1 year, 4 months ago
You're a shill.
upvoted 5 times
...
kong345
1 year, 5 months ago
Was this PBQ on your exam? if not can you tell which ones were on your exam?
upvoted 2 times
...
...
Soleandheel
1 year, 5 months ago
1. ssh-keygen -t rsa (creating the key-pair) 2. ssh-copy-id -i /.ssh/id_rsa.pub user@server (copy the public-key to user@server) 3. ssh -i ~/.ssh/id_rsa user@server (login to remote host with private-key)
upvoted 16 times
...
Soleandheel
1 year, 5 months ago
1. ssh-keygen -t rsa (creating the key-pair) 2. ssh-copy-id -i /.ssh/id_rsa.pub user@server (copy the public-key to user@server) 3. ssh -i ~/.ssh/id_rsa user@server (login to remote host with private-key)
upvoted 5 times
...
dax61
1 year, 6 months ago
https://www.examtopics.com/discussions/comptia/view/40100-exam-sy0-601-topic-1-question-2-discussion/
upvoted 2 times
...
shover
1 year, 6 months ago
This is in Darril gibsons sy0-601 book he has it listed as follows SSH-keygen -t rsa SSH-copy-Id (server name) SSH root@(server name)
upvoted 13 times
klinkklonk
1 year, 2 months ago
We need to login to the specifict host, not as root. I think ...
upvoted 1 times
klinkklonk
1 year, 2 months ago
ssh -i ~/.ssh/id_rsa user@server because we need to log in as the user to verify it works. First two are correct
upvoted 1 times
...
...
...
DashRyde
1 year, 6 months ago
Changed my mind the SSH Key authentication commands is mentioned in the book. ------------------From ChatGPT --------------- Setting up passwordless SSH authentication using SSH keys involves a few steps. Here are the commands to achieve this: Generate SSH Key Pair on Your Local Machine: >> ssh-keygen -t rsa This command generates an SSH key pair (public and private keys) by default in the ~/.ssh/ directory. the Public Key to the Remote Server: >> ssh-copy-id username@remote_server Replace "username" with your remote server username and "remote_server" with the server's address. This command will copy your public key to the server and set up passwordless access. Test the Passwordless SSH Access: >> ssh username@remote_server You should now be able to access the remote server without being prompted for a password.
upvoted 4 times
DChilds
1 year, 6 months ago
This command ">> ssh username@remote_server" is not in the list of options. Unless it is the ssh root@server?
upvoted 3 times
...
...
DashRyde
1 year, 6 months ago
:) WTH is even that linux+ course?
upvoted 8 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago