By default, the configuration of SSH Tectia client tools for z/OS is aimed toward usability. If you want to have a minimal, high-security configuration, you have to disable some functionality.
Connecting to servers whose admin you do not trust and who may be malicious is a significant security risk. Avoid it. However, there are a few ways to reduce the risk.