Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix the curl pipe'ed to bash docs to work with the ssh-host.sh changes. #276

Merged
merged 1 commit into from
Oct 16, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions ssh/hosts.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ description: Smallstep SSH Host Quickstart | Smallstep Documentation

**This section only applies to multi-user environments.**

**Host Tags** (key-value pairs) are the pillar of our [access control](./acls.mdx) model.
**Host Tags** (key-value pairs) are the pillar of our [access control](./acls.mdx) model.
Rather than mapping people or groups directly to hosts, you'll map _tag combinations_ to your hosts and to your user groups.
First you'll put your hosts into logical groups using tags, eg. `role`:`web` or `env`:`staging`.
Then, you'll grant user groups access to all hosts with a specific tag combination.
First you'll put your hosts into logical groups using tags, eg. `role`:`web` or `env`:`staging`.
Then, you'll grant user groups access to all hosts with a specific tag combination.
Finally, you'll choose which user group tag combinations will allow `sudo` privileges on any matching hosts.

Let's look at an example:
Expand Down Expand Up @@ -88,7 +88,7 @@ $ bash ssh-host.sh --bastion=<bastion hostname>
As `root`, run:

```shell
curl -sSf https://files.smallstep.com/ssh-host.sh | bash
bash <(curl -sSf https://files.smallstep.com/ssh-host.sh)
```

You'll be prompted for
Expand Down Expand Up @@ -210,7 +210,7 @@ Match User *,!ubuntu

* The following endpoints are being used to deliver the SSH service


* `ssh-test.app.smallstep.com` — For SSH test sessions
* `https://ssh.<team-name>.ca.smallstep.com` — The CA internal PKI APIs (protected by mTLS)
* `https://smallstep.com/app/teams/sso/success` — Single sign-on success page
Expand Down