configuring ssh in linux 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: setting up the ssh keys
scp $HOME/.ssh/id_rsa.pub [email protected]:~/.ssh/authorized_keys