I just switched local systems so I have to get back into a server again using the ssh keys. I usually use ssh david@server to get in. But since I have switched to the new machine the only way I can get into the server is ssh -i path/to/id_rsa_server david@0.0.0.0 which points to the private key on my machine.
Now I already have a config file set up in the .ssh folder which I copied over from the last machine. The file looks as such:
Host server
Hostname 0.0.0.0
User david
IdentityFile ~/.ssh/id_rsa_server
How do I get the ssh system to recognize the config file again?