Got it

What should I do if "Check sshd_config parameter configuration" is displayed during the installation of the eMRS server software?

Created: May 31, 2019 02:48:01Latest reply: May 31, 2019 02:48:26 265 1 0 0 0
  Rewarded HiCoins: 0 (problem resolved)

What should I do if "Check sshd_config parameter configuration" is displayed during the installation of the eMRS server software?

Featured Answers

Best answer

Recommended answer

Neil_Tong
Created May 31, 2019 02:48:26

In this case, you need to check whether the value of PasswordAuthentication in the sshd_config file is correct.

1.      Log in to the local server as the root user.

2.      Right-click in the blank on the desktop and choose Open in Terminal from the shortcut menu. The command line window is displayed.

3.      Run the following command to check whether the configuration is correct.

cat /etc/ssh/sshd_config

Check the value of PasswordAuthentication.

·        If the value is yes, the configuration is correct. Contact technical support.

·        If the value is no, the configuration is incorrect. Go to the next step.

4.      Run the following command to stop the current SSH service:

service sshd stop

Shutting down SSH daemon                                                 done

5.      Open and edit the /etc/ssh/sshd_config file. Change the value of PasswordAuthentication from no to yes.

vi /etc/ssh/sshd_config

PasswordAuthentication   yes

After the value is changed, press Esc to exit from the edit state. Then run the following command to save and close the file.

:wq

6.      Run the following command to start the SSH service.

service sshd start

Starting SSH daemon                                                 done


View more
  • x
  • convention:

All Answers
In this case, you need to check whether the value of PasswordAuthentication in the sshd_config file is correct.

1.      Log in to the local server as the root user.

2.      Right-click in the blank on the desktop and choose Open in Terminal from the shortcut menu. The command line window is displayed.

3.      Run the following command to check whether the configuration is correct.

cat /etc/ssh/sshd_config

Check the value of PasswordAuthentication.

·        If the value is yes, the configuration is correct. Contact technical support.

·        If the value is no, the configuration is incorrect. Go to the next step.

4.      Run the following command to stop the current SSH service:

service sshd stop

Shutting down SSH daemon                                                 done

5.      Open and edit the /etc/ssh/sshd_config file. Change the value of PasswordAuthentication from no to yes.

vi /etc/ssh/sshd_config

PasswordAuthentication   yes

After the value is changed, press Esc to exit from the edit state. Then run the following command to save and close the file.

:wq

6.      Run the following command to start the SSH service.

service sshd start

Starting SSH daemon                                                 done


View more
  • x
  • convention:

Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.