how to transfer a file from ssh to local code example Example: ssh transfer file from local to remote scp file.txt [email protected]:/remote/directory