KB Article #74163

SFTP: Public key received from user xxxxxx rejected

Problem

-- A SFTP incoming connection with Public Key authentication is refused with the following error:
NET102I   09.11.2011  12:09:56  (78) incoming connection indication   [src_add="10.210.138.148/1366",dest_add="10.142.68.13/6710"].
SECS106I  09.11.2011  12:09:56  Server(73) Net profile P_SFTP_RSA_QUICKTEST selected [src_add="10.210.138.148/1366"]  [dest_add="10.142.68.13/6710"].
SECS111I  09.11.2011  12:09:56  Server(73) SSH profile SSH_SRV_RSA_QUICKTEST selected .
NET103I   09.11.2011  12:09:56  (78) incoming connection response     [resp_add=""].
PCNX001I  09.11.2011  12:09:56  (23068745) CGate QUICKTEST selected.
SECS149E  09.11.2011  12:09:56  Server(73) Public key received from user quicktest rejected.
SECS132E  09.11.2011  12:09:56  Server(73) Authentication control failed for user quickstest.


Resolution

* There are 2 solutions to this error:
1. Manualy import the partner's public key into Gateway and validate it before the transfer
or
2. Configure the SSH Profile to automatically accept the partner's public key
-Check "Automatic import of partner keys" and "Trust hosted public keys"
and validate the Public Key after the first try.