ssh comand code example
Example 1: ssh login
ssh [username]@[ip]
Example 2: ssh command
ssh -p <portnumber> hostname
Example 3: use file connect ssh
sudo chmod 400 [key file]
sudo ssh -i [key file] [username]@[ip]
ssh [username]@[ip]
ssh -p <portnumber> hostname
sudo chmod 400 [key file]
sudo ssh -i [key file] [username]@[ip]