passwording a tar.gz file

hi
im doing a remote backup with one of my friends server, he backup his files on my server and i backup my files on his server..

i was wondering if i can passwrd protect a tar.gz file, i usuly do a :
tar -czf /tmp/backup.tar.gz /home/backup

i want to know if there is a way to put a password on the file backup.tar.gz so no one can open or extract the file.

dose tar support (passwords) ?

 

 

 

 

Top