public static function getRemoteClient(array $params)
    {
        return new m62Sftp([
            'host' => $params['sftp_host'],
            'username' => $params['sftp_username'],
            'password' => $params['sftp_password'],
            'port' => $params['sftp_port'],
            'privateKey' => (isset($params['sftp_private_key']) ? $params['sftp_private_key'] : ''),
            'timeout' => (! empty($params['sftp_timeout']) ? $params['sftp_timeout'] : '30'),
            'root' => $params['sftp_root']
        ]);
    }
public static function getRemoteClient(array $params)
    {
        return new m62Sftp([
            'host' => $params['sftp_host'],
            'username' => $params['sftp_username'],
            'password' => $params['sftp_password'],
            'port' => $params['sftp_port'],
            'privateKey' => (isset($params['sftp_private_key']) ? $params['sftp_private_key'] : ''),
            'timeout' => (! empty($params['sftp_timeout']) ? $params['sftp_timeout'] : '30'),
            'root' => $params['sftp_root']
        ]);
    }
Returns the remote transport client

@param array $params
An array of the connection details
@return \JaegerApp\Remote\Sftp