FredHutch/sti_crc_method_comparison

Name: sti_crc_method_comparison

Owner: Fred Hutchinson Cancer Research Center

Description: Chef Cookbook for configuring Microbiome Data Sharing Portal

Created: 2017-03-08 16:33:48.0

Updated: 2017-03-13 17:44:36.0

Pushed: 2018-01-02 20:47:20.0

Homepage:

Size: 34

Language: Ruby

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Data Exchange Host

Purpose

This cookbook configures a host for uploading non-confidential data from remote institutions for analysis at the Hutch.

Constraints
Implementation

The host's default (OS-configured) SSH server will be restricted to the host's default interface. A second IP interface (by default configured as a subinterface on the default network device) is used for SFTP. A second OpenSSH daemon is configured to listen on that second IP address- this OpenSSH daemon has been configured such that the only available subsystem is SFTP, thus no shell access via this interface. Firewall rules thus only allow remote access to this second IP address on port 22.

Further customizations are used to configure SFTP- the chroot directory is configured to use the incoming connection's username, appending it to the root upload directory. This directory needs to be configured as owned by root, so a subdirectory under this (called upload) is created with permissions such that the connecting account can read and write inside this directory.

As this data needs to be uploaded to networked storage, a subdirectory is mounted via SMB to the location indicated by <data directory>. This mount will use a service account such that the uploaded data on the server will have permissions allowing Hutch staff to manage this data.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.