mpack - отличный способ отправки файлов в командной строке.
apt-get install mpack
use:
mpack -s "file you wanted" ./data.pdf loser@supergoober.cn