How do I pass a known fingerprint (such as SHA256:BcOkb1S0zuj5A1CDxpOSuD2hnAArV1A3wKY7iOlks
) to SSH, so that I don't need to manually answer the prompt?
I tried the following, which does not seem to work:
ssh some-user@my-domain.com <<EOF
SHA256:BcOkb1S0zuj5A1CDxpOSuD2hnAArV1A3wKY7iOlks
EOF