No es tan transparente, pero el ssh
binario proporcionado por busybox (el mío, al menos) admite la -i
bandera, por lo que puede colocar la clave donde quiera y usar eso:
ssh -i /path/to/key_file joeuser@somehost.com
La entrada de página de manual relevante para -i
(con la advertencia de que la información sobre la ruta predeterminada puede no ser la misma en Android):
-i identity_file
Selects a file from which the identity (private key) for public
key authentication is read. The default is ~/.ssh/identity for
protocol version 1, and ~/.ssh/id_dsa, ~/.ssh/id_ecdsa and
~/.ssh/id_rsa for protocol version 2. Identity files may also be
specified on a per-host basis in the configuration file. It is
possible to have multiple -i options (and multiple identities
specified in configuration files). ssh will also try to load
certificate information from the filename obtained by appending
-cert.pub to identity filenames.