Git cannot be used to connect to gitlab. in idea

problem description

my gitlab has been configured with a public key. Testing ssh-t "git address" in git bash shows correct, but testing ssh-T in idea prompts
Permission denied (publickey).

the platform version of the problem and what methods you have tried

window 10Magneidea 2018, reconfigure the public key yourself but can"t use it in idea, but git bash

related codes

/ / Please paste the code text below (do not replace the code with pictures)

clipboard.png

this is the

displayed in git bash.

F:cgworkspacecogo > ssh-T git@gitlab.com
git@gitlab.com: Permission denied (publickey).

this is the problem shown in idea

what result do you expect? What is the error message actually seen?

you can also submit code and associated gitlab in idea

Git
Apr.20,2021
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1ea9409-1f40.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1ea9409-1f40.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?