Configure SSH connectin identifiers
Create ~/.ssh/config
file and fill it with data below:
Host server_name
User ubuntu
HostName 127.0.0.1
IdentityFile ~/.ssh/id_rsa_server
Host
- Name of connection that will be used inssh <server_name>
command to connect to serverUser
- Connection user name (that used in connection likessh root@127.0.0.1
whereroot
is User)HostName
- IP or Domain of your ssh serverIdentityFile
- RSA private seerver identification key path