Container and host OS often have different versions of SSH. It is hard to share the settings on these environments.
Furthermore, it is not easy to edit the config file from the host OS once it is mounted to the container.
To connect to the remote host, users need to edit the config file on the container by themselves. Although it is tedious, we can avoid complexities.
Stop sharing the config file.
Reason
Container and host OS often have different versions of SSH. It is hard to share the settings on these environments. Furthermore, it is not easy to edit the config file from the host OS once it is mounted to the container.
To connect to the remote host, users need to edit the config file on the container by themselves. Although it is tedious, we can avoid complexities.