scp a all files in current directory to remote code example Example: scp all files in directory scp -r myfoldername [email protected]:/home/myfoldername