Unify ssh_command. Allow remote ssh with paramiko and localhost with subprocess