set up ssh config code example
Example 1: ssh config
Host hostname1
SSH_OPTION value
SSH_OPTION value
# Example 1:
Host targaryen
HostName 192.168.1.10
User daenerys
Port 7654
IdentityFile ~/.ssh/targaryen.key
Example 2: file connection ssh
sudo chmod 400 [key file]
sudo ssh -i [key file] [username]@[ip]