Optimize the ssh scripts with compression and base64

Now ssh_mini_pearl and ssh_pearl use base64 and gzip
in order to trasfer a small quantity of data