Document running the SSH server on port 22

This commit is contained in:
fr33domlover 2018-10-25 20:28:06 +00:00
parent 878f853520
commit 0d3ccb3a38
2 changed files with 13 additions and 2 deletions

View file

@ -115,6 +115,16 @@ Build.
$ stack build
For convenience, at least on actual deployments, you may wish to run the Vervis
SSH server on port 22, so that people don't have to specify a custom port. For
that to work, the user that runs the Vervis server needs to get permission to
bind to ports below 1024. There are several ways to do that. One of them is to
use file capabilities to give the Vervis executable the permission to bind to
such ports (if you prefer not to trust the code, try one of the other methods,
such as sudo):
$ sudo setcap CAP_NET_BIND_SERVICE=+ep `stack exec which vervis`
Run.
$ stack exec vervis

View file

@ -48,10 +48,11 @@ time of writing, I'll try to keep this little tutorial up to date)!
links for creating these
5. You can browse all the projects and repos hosted on the instance.
6. Add the following to your `~/.ssh/config` file, or create it if doesn't
exist:
exist. To be honest I'm not sure it's still required, and haven't tested
yet. If you find that this step is unnecessary and everything works without
it, let me know :)
Host dev.angeley.es
Port 5021
ControlMaster no
ForwardAgent no
ForwardX11 no