SSH ACCESS ERROR

Posted on

Hello to all,

after installing rhel server, i set ssh access with private key as per following guide https://www.linode.com/docs/guides/use-public-key-authentication-with-ssh/ but when i try to connect through putty, as soon as I enter the ip and the root user name, it automatically connects with the publbica key without asking me for the private key, making the system vulnerable.

how can I fix it, to make sure that it allows me to connect only when I have the private key?

Thank you