secure copy paste mac to linux via ssh code example Example: scp to remote server scp ./file.txt remote_username@remote_ip:/remote/directory