The image is owned and managed by SUSE. If you feel they should update the image to disallow password by default you can reach out to them. However, many users still do still use password logins. It is up to individual users to manage their configurations.
I can see the default configuration for SUSE SP6 has UsePam
set to yes. To disable password login please add both of these lines to sshd_config
:
PasswordAuthentication no
ChallengeResponseAuthentication no
For more information on this please see these other forum discussions.
SSH PasswordAuthentication vs ChallengeResponseAuthentication
Disabling password authentication
Practical Effects of Setting “UsePAM yes” on SSH in Linux
If you still have questions, please let us know in the "comments" and we would be happy to help you. Comment is the fastest way of notifying the experts.
If the answer has been helpful, we appreciate hearing from you and would love to help others who may have the same question. Accepting answers helps increase visibility of this question for other members of the Microsoft Q&A community.
Thank you for helping to improve Microsoft Q&A!
Disclaimer: This response contains a reference to a third-party World Wide Web site. Microsoft is providing this information as a convenience to you. Microsoft does not control these sites and has not tested any software or information found on these sites; therefore, Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there.
There are inherent dangers in the use of any software found on the Internet, and Microsoft cautions you to make sure that you completely understand the risk before retrieving any software from the Internet.