Operating System - HP-UX
1829816 Members
1665 Online
109993 Solutions
New Discussion

sshd per user configuration

 
Mark Tunnell
Advisor

sshd per user configuration

I'm running HP's SSH ver. A03.71.000 on HP-UX 11.11. I'm looking for a way to forbid password based authentication on a per account basis. In other words, I want a certain account to only be accessible via SSH using public-key authorization. I can't disable the password in the OS as I want to be able to su to that account. I know I can disable password autentication for all accounts in the /opt/ssh/etc/sshd_config file but I only want to do it for one account only. Is this possible?

Mark
2 REPLIES 2
Steven E. Protter
Exalted Contributor

Re: sshd per user configuration

This one disables root ssh login only so may be a model for you.

Thanks to Mr. SEP and Mr. Google.

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=793010

Another possibility:
http://forums2.itrc.hp.com/service/forums/questionanswer.do?threadId=779355

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Mark Tunnell
Advisor

Re: sshd per user configuration

Thanks for your response. I actually just found the answer. It was in the man page all along I just kept missing it!

"PermitRootLogin without-password"