I have a server in the web and I'm very concerned about security. I'm using custom private key
ssh-keygen -t rsa -b 4096 -C "email@example.com"
and I'm using it only for this server. I've added this key to
authorized_keys on the server.
I'm using this ssh command to login:
ssh firstname.lastname@example.org -i key_file
But, after successful login, I'm able to login to my server using this command:
-i key_file. Why is that ?