Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/xpath/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Amazon ec2 如何设置RHEL Ec2实例的用户名、密码访问权限_Amazon Ec2 - Fatal编程技术网

Amazon ec2 如何设置RHEL Ec2实例的用户名、密码访问权限

Amazon ec2 如何设置RHEL Ec2实例的用户名、密码访问权限,amazon-ec2,Amazon Ec2,我在下面的博文中为ec2 instnce设置了passwod访问权限 我无法使用密码登录。我在重新启动sshd服务时遇到以下错误 Stopping sshd: [FAILED] Starting sshd: /etc/ssh/sshd_config line 150: Bad yes/no argument: noUseDNS

我在下面的博文中为ec2 instnce设置了passwod访问权限

我无法使用密码登录。我在重新启动sshd服务时遇到以下错误

Stopping sshd:                                             [FAILED]
Starting sshd: /etc/ssh/sshd_config line 150: Bad yes/no argument: noUseDNS
                                                       [FAILED]

您可能在
/etc/ssh/sshd_config
文件中有语法错误,或者使用了它不支持的选项(noUseDNS)

你提到的链接做了正确的事情。你所做的与链接所建议的不同