How to use SSH to exchange data with Linux server code example Example: use file connect ssh sudo chmod 400 [key file] sudo ssh -i [key file] [username]@[ip]