Multiple GitHub Account setup

I am trying to setup multiple github account in my machine but am getting below error when i try to clone secound repo.
Connection reset by port 22
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.

config file am trying to use is:
#Account 1
AddKeysToAgent yes
IdentityFile ~/.ssh/id_ed25519

#Personal account
User git
IdentityFile ~/.ssh/id_rsa

this one might help