Closed neurosnap closed 7 months ago
We can support private projects via local forward ssh tunnels.
Eric sets ACL for project hey-docs-dev:
hey-docs-dev
ssh pgs.sh acl hey-docs-dev pico antonio
Antonio creates SSH tunnel to project:
ssh -L 5000:localhost:80 -N hey-docs-dev@pgs.sh
Antonio can access site via http://localhost:5000
Other options we support:
acl public
acl pico
acl pico xxx,yyy
acl public_keys
acl public_keys sha256:xxx,sha256:yyy
Further, there is a special API endpoint for any sites accessed via a tunnel: GET http://localhost:5000/pico
This will return information about the user accessing the site, like pico username, public key used, etc.
We can support private projects via local forward ssh tunnels.
Eric sets ACL for project
hey-docs-dev
:Antonio creates SSH tunnel to project:
Antonio can access site via http://localhost:5000
Other options we support:
acl public
-> default, open to everyoneacl pico
-> private to any pico useracl pico xxx,yyy
-> private to specific pico usersacl public_keys
-> private to anyone with a pubkeyacl public_keys sha256:xxx,sha256:yyy
-> private to specific pubkeysFurther, there is a special API endpoint for any sites accessed via a tunnel: GET http://localhost:5000/pico
This will return information about the user accessing the site, like pico username, public key used, etc.