Added generic interface to send comands using ssh.