use ssh on ubuntu code example Example: use file connect ssh sudo chmod 400 [key file] sudo ssh -i [key file] [username]@[ip]