Unable to connect after applying the role (Ubuntu 18.04, AWS EC2) #229
Comments
Hey @xlz-jgoutin, the problem here is probably that the user
|
Hello, I tried with your modified playbook but this does not solve the issue. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Hi, |
We started to allow overrides for max auth retries in dev-sec/ssh-baseline#138. We need to find a good default value that works for most cases. I recommend that we continue with the ability to easily customize the value if the default is not working. |
I do not use the SSH agent and I specify the key to use directly ( Retested without success after confirming there are no identities in the agent: $ ssh-add -l
The agent has no identities. |
Duplicate of #189 |
Describe the bug
A clear and concise description of what the bug is.
On AWS, I generate a fresh Uuntu 18.04 EC2 instance and provision it using Ansible. If The ssh-hardening role is used in the playbook, I get
Connection closed
when trying connecting after playbook installation. The connection is successful without the role.Default roles values are used.
Expected behavior
A clear and concise description of what you expected to happen.
A successful connection.
Actual behavior
Example Playbook
The playbook complete successfully.
OS / Environment
Ansible Version
It is the Ansible version from OS package ("ansible" 2.8.1-1.fc30)
Role Version
Additional context
Add any other context about the problem here.
SSH key: RSA 4096 with no password.
user: The default user for Ubuntu EC2 instances.
The text was updated successfully, but these errors were encountered: