Hi, have you created the keypair as site user?
The command line to execute should look like this:
ssh root@$HOSTADDRESS$ /usr/bin/check_mk_agent
There’s no need to change the TCP port for the agent connection.
Karl