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