22 minutes ago
We need non-interactive SSH to a dedicated synthetic test deployment with StrictHostKeyChecking=yes. Before first connection, how can we independently verify the current ssh.railway.com relay host identity? Please provide an official host-key/fingerprint source, host CA, DNSSEC-authenticated SSHFP, or an authenticated management API that attests the relay key, including rotation and multi-relay behavior. The registered client-key fingerprints and deployment instance ID do not attest the server key. We cannot use ssh-keyscan alone, accept-new, or disabled host checking as proof. If no supported mechanism exists, is there an officially supported TLS-authenticated command transport with equivalent instance binding and stdin/stdout lifecycle semantics?
3 Replies
22 minutes ago
We don't offer a supported way to verify the host identity of ssh.railway.com independently. We don't publish a fingerprint list, known_hosts entry, SSHFP record, or host CA, and no API attests the relay key.
The endpoint is served by multiple hosts, and each one has its own key. Those hosts change regularly and without notice. Different connections can get different host keys, even back to back, and any key can be rotated at any time. Because of that, pinning a fingerprint for a StrictHostKeyChecking=yes workflow will break, and we make no guarantee that a host key stays stable for any length of time.
The documented way to run non-interactive commands in a service is railway ssh -- <command>. It connects through this same SSH endpoint and skips the PTY when input is piped, so it has the same host-key behavior described above.
Status changed to Awaiting User Response Railway • 22 minutes ago
Railway
We don't offer a supported way to verify the host identity of `ssh.railway.com` independently. We don't publish a fingerprint list, known_hosts entry, SSHFP record, or host CA, and no API attests the relay key. The endpoint is served by multiple hosts, and each one has its own key. Those hosts change regularly and without notice. Different connections can get different host keys, even back to back, and any key can be rotated at any time. Because of that, pinning a fingerprint for a `StrictHostKeyChecking=yes` workflow will break, and we make no guarantee that a host key stays stable for any length of time. The documented way to run non-interactive commands in a service is [`railway ssh -- <command>`](https://docs.railway.com/cli/ssh). It connects through this same SSH endpoint and skips the PTY when input is piped, so it has the same host-key behavior described above.
19 minutes ago
Thanks. This remains blocked for us. Could a Railway staff member confirm whether this limitation is accurate, and whether there is any supported authenticated server-identity mechanism or TLS-authenticated command transport for ordinary services? We need to preserve strict host verification and instance binding; trusting a first observed key or disabling verification is not an acceptable workaround.
Status changed to Awaiting Railway Response Railway • 19 minutes ago
Status changed to Awaiting User Response brody • 16 minutes ago