I hereby claim:
- I am engiwip on github.
- I am engiwip (https://keybase.io/engiwip) on keybase.
- I have a public key ASBWneEbPt3r_o2o7d7QJUH55Nu6kArI7PuwjYi1LQ32PQo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
# Configuration | |
export PUBLIC_DNS=<public hostname> | |
export PUBLIC_IP=<public host IP> | |
export PRIVATE_IP=<private host IP> | |
mkdir docker-ca | |
chmod 0700 docker-ca/ | |
cd docker-ca/ | |
# CA key |
To add a SFTP-only user, you'll need to make sure your SSH config settings are correct, add a new user/group and set permissions for your new user. For step-by-step directions, see below. Omit sudo
if you're logged in as root.
Edit /etc/ssh/sshd_config
and make sure to add the following at the end of the file:
Match group filetransfer
ChrootDirectory %h
import * as React from 'react'; | |
import { Component } from 'react'; | |
export default function HOCBaseRender<Props, State, ComponentState>( | |
Comp: new() => Component<Props & State, ComponentState>) { | |
return class HOCBase extends Component<Props, State> { | |
render() { | |
return <Comp {...this.props} {...this.state}/>; | |
} | |
} |