rewrote get_scp|ssh_command, reimplemented get() and put()