SSH Key in a connection template of a discovery

simple question: in the connection template of a rule in a discovery would be a private SSH Key or public key?

Asset discovery --> Rules --> Connection Template --> Authentication type --> SSH Key and then i choose: SSH Key Generation and Deployment Settings --> Import and Manually Deploy the SSH Key. I can browse to upload the key but i have a doubt if would be a private SSH Key of the asset or the public key and the associated key uploaded in the asset.

i have to clarify at best this point.

thank you very much