Added output file support

Set defaults to host/user/color/mode cmd params
ssh.machine: fixed some paths
misql: added some debugging
ccs: removed ptypes
ssh.new: fixed path