System text formats

SSH Host pattern tester

Test one hostname against positive and negated OpenSSH Host patterns.

Your inputs

Start with an example

Your inputs stay in your browser.

Your result

Example result

How it works

Match * and ? case-insensitively. Require a positive match and reject the group if a negated pattern matches.

www.example.com matches *.example.com and does not match the excluded test.example.com.

Limits

Host pattern groups only; supply international names as ASCII A-labels. This does not evaluate an SSH configuration, canonicalization, Match blocks, DNS or option precedence.