The SSH service is not filtered by the Firewall to avoid external attacks and possible intrusions through this service.
Attempt to access the server through brute force attacks or 0-day exploits.
Securely configure the vulnerable service so that it can only be accessed by authorized users.
External attacker without credentials.
⌚ 60 minutes.
Default score using CVSS 3.1. It may change depending on the context of the src.
Default score using CVSS 4.0. It may change depending on the context of the src.
The service only allows safe access to certain users
name: "myhost""
AddressFamily: any
AllowAgentForwarding: false
AllowTcpForwarding: true
ListenAddress: {{ ansible_default_ipv4.address }}:{{ ssh_port | default('22') }}
PubkeyAuthentication: true
//Firewall configuration
hosts: myhost.com
vars:
ansible_port: "{{ ssh_port | default('22') }}"
remote_user: sven
become: true
roles:
- hostnames
- users
- ssh
- my.firewall
firewall_allowed_tcp_ports:
- 80
- 443
- 5930
There is a resource with an SSH configuration allowing any address
name: "myhost""
AddressFamily: any
AllowTcpForwarding: true
ListenAddress: any