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