Skip to content

enhance: Improve SSH access docs and document Newt auth env vars#91

Open
LaurenceJJones wants to merge 2 commits intofosrl:mainfrom
LaurenceJJones:docs/ssh-access-paths
Open

enhance: Improve SSH access docs and document Newt auth env vars#91
LaurenceJJones wants to merge 2 commits intofosrl:mainfrom
LaurenceJJones:docs/ssh-access-paths

Conversation

@LaurenceJJones
Copy link
Copy Markdown
Member

Change ssh access documents to be a better flow between options instead of providing a simple 1,2 for each step.


<CardGroup cols={2}>
<Card title="Newt (site connector)" icon="plug" href="#option-1-newt-as-the-auth-daemon-same-host">
<Card title="Newt Host" icon="plug" href="#configure-ssh-on-the-newt-host">
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

probably revert

Runs as a daemon and handles SSH for the host it runs on. Use this when the machine you want to SSH into is the same server running Newt.
</Card>
<Card title="Auth daemon" icon="server" href="#option-2-external-auth-daemon-ssh-on-another-server-that-doesn%E2%80%99t-run-newt">
<Card title="Hosts Behind Newt" icon="server" href="#configure-ssh-on-hosts-behind-newt">
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Dont know about revert, since "auth daemon" doesnt really explain what these two mean?


After the resource exists and access is granted, proceed with [Option 1](#option-1-newt-as-the-auth-daemon-same-host) or [Option 2](#option-2-external-auth-daemon-different-servers) below.
1. Each SSH target gets its own **private resource**.
2. That resource decides **how Pangolin reaches that host**.
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe refactor "how pangolin reaches" should be "How clients will connect to host"


Use this when you want to SSH into servers that **do not** run Newt. One host runs Newt (e.g. as a bastion); each target server runs the Pangolin auth daemon as an extension of Newt. The client connects to the target by going **through** Newt—Newt proxies the SSH connection to the auth daemon and SSH server on each target.

```mermaid
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lost this mermaid, revert this back

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant