ssh connection from terminal code example
Example 1: ssh login
ssh [username]@[ip]
Example 2: use file connect ssh
sudo chmod 400 [key file]
sudo ssh -i [key file] [username]@[ip]
ssh [username]@[ip]
sudo chmod 400 [key file]
sudo ssh -i [key file] [username]@[ip]