Avatar of Balbir Singh
Balbir Singh
Flag for United States of America asked on

Example of ChallengeResponseAuthentication in sshd_config

I would like to use ChallengeResponseAuthentication directive in sshd_config want to set it yes. Basically I want a user to say/type yes before he attempts provide his password.

I am wondering how it can be achieved.

Thanks in advance!
SSH / Telnet Software

Avatar of undefined
Last Comment
David Favor

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
David Favor

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
serialband

https://blog.tankywoo.com/linux/2013/09/14/ssh-passwordauthentication-vs-challengeresponseauthentication.html

While it can be more secure than just regular password authentication, ssh keys should be better.
David Favor

I'm with serialband.

Personally, I'd skip working with ChallengeResponseAuthentication.

Instead, use ssh keys.
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck