printf '%s' with inline secret expansion could leave out trailing newline or preserve \r from browser-pasted keys, causing OpenSSH 'error in libcrypto'. Use env: block + printf '%s\n' | tr -d '\r' to normalize the key file. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>