Host * AddKeysToAgent yes IdentitiesOnly yes AddressFamily inet Host new.test.server new1 ##THIS new1 NEEDS to be set as a prefix for the user password in hosts Hostname new.test.server Port 22 User root IdentityFile ~/.ssh/id_rsa ##Be careful here no ".pub" extension, otherwise doesn't work