class SystemRaiderImpl implements SystemRaider {

    @Override
    public String executeScript(String ip, String path, String... params) {
        String response;
        SessionFactory sessionFactory;
        try {
            sessionFactory = createSessionFactory(ip);
            scpScript(sessionFactory, path);
            response = executer(ip, params);

        } catch (JSchException e) {
            return "unable to connect to " + ip;
        } catch (IOException e) {
            return "unable to copy file to the host, error: " + e;
        } catch (Exception e) {
            e.printStackTrace();
            throw new RuntimeException(e);
        }
        return response;

    }

    public  SystemRaiderImpl();

}