Post

Uday👨‍💻
Uday👨‍💻@uday_devops·
Linux interview question: How do you configure passwordless SSH access?
English
16
1
63
10.8K
Andrea D'Ambrosio
Andrea D'Ambrosio@andrebuilds·
@uday_devops ssh-keygen, ssh-copy-id, done. this is a 30 second task being turned into an interview question. if this is what they're asking you the bar is on the floor
English
3
0
11
735
Viswanatha Reddy
Viswanatha Reddy@Viswa2608·
@uday_devops Generate ssh key by using ssh-keygen copy public ip and paste necessary location and try to connect. Mostly we can use 2 host systems that need to connect with each other.
English
1
0
1
223
White Rabbitx 🏴‍☠️
@uday_devops Generate an ssh key with ssh keygen then copy the public key to authorized_keys via ssh copy id after that set correct permissions and you get clean passwordless login feels like magic first time ... You need to configure the SSH config as well
English
1
0
6
539
AJ
AJ@anjanathenuwara·
@uday_devops First, modify sshd_config and disable password-based authentication by setting PasswordAuthentication no.
English
1
0
5
748
Saurav Chaudhary
Saurav Chaudhary@sauravstwt·
@uday_devops People say it’s a 30-sec task… until it breaks because of wrong ~/.ssh permissions or sshd_config 😅
English
1
0
2
397
Kyriakos
Kyriakos@Kyriakos_Pelek·
@uday_devops true, keep the setup simple and test end to end
English
1
0
1
285
Pavan
Pavan@komma_pavan·
@uday_devops Through SSH keys: We need to generate SSH keys: Public key needs to be added to the server and we need to connect with a private key. When both private and key matches.We will have access to server
English
0
0
1
204
Simply Curious
Simply Curious@SimplyQurious·
@uday_devops Ssh private and public key with ssh agent and a well defined config file.
English
0
0
0
177
Ankit ☁︎ ❯
Ankit ☁︎ ❯@ankit_ops2799·
@uday_devops copy the public key to the server’s authorized_keys, set proper permissions, and optionally disable password authentication for key-only login
English
0
0
0
3
Paylaş