So we will need 2 key pairs to establish an ssh connection:
dev_datadir/ssh_host_rsa_key: server's private key, there is no pub key of this, server will generated one pub key once it started and loaded private key.
dev_datadir/.ssh/id_rsa: user use this key to ssh to lobbyboy, the pubkey is in lobbyboy/conf/lobbyboy_config.toml
So we will need 2 key pairs to establish an ssh connection:
dev_datadir/ssh_host_rsa_key
: server's private key, there is no pub key of this, server will generated one pub key once it started and loaded private key.dev_datadir/.ssh/id_rsa
: user use this key to ssh to lobbyboy, the pubkey is inlobbyboy/conf/lobbyboy_config.toml