setup_new_server/config
2023-04-28 15:42:04 -07:00

21 lines
322 B
Plaintext

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