You have done configured the trusted system for trust relationship between 2 systems. Unfortunately, during the RFC connection test, you are receiving error, “You are not authorized to logon to the target system (error code 1).
Solution
The error from the screenshot means that,
• No trusted system entry exists for the calling system, or
• The security key for the system is invalid, or
• Calling system is not a trusted system.
Mostly likely, you need to re-check the trusted system configuration. Ensure that it was correctly setup. You can find the errors, hints from the transaction code SMT1 and SMT2. If possible, re-create the trusted system!