Add support for specifying keys for `ssh`.

This allows non-default private keys in the `remote-shell` library.
Also, allow the appropriate private key to be specified for a pkg-build.
Fix `require/typed/provide` in `no-check` context.

Closes PR 14821.