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