Skip to content

Commit 2cf5c01

Browse files
committed
add token form image
1 parent 88d94c5 commit 2cf5c01

File tree

2 files changed

+13
-8
lines changed

2 files changed

+13
-8
lines changed

docs/docs/how-tos/connect-via-ssh.mdx

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@ This page is also accessible via the Nebari Home Page:
2626
- If your deployment has `jhub-apps` enabled, you can navigate to this page by selecting the `Token` option under your username in the upper righthand corner.
2727
- If your deployment does not have `jhub-apps` enabled, you can click on the `Token` link on the top navigation bar.
2828

29+
Fill out the form for token creation:
30+
31+
![Form to create a new JupyterHub token](/img/how-tos/jupyterhub-token.png)
32+
2933
You may add a note and expiration date to the token. You can leave the scopes field blank to give the token all the permissions that your user typically has on JupyterHub (which is the service on which Nebari is running).
3034

3135
## Connect to Nebari via SSH
@@ -36,7 +40,7 @@ Before you begin, you'll need to have SSH installed on your local machine. From
3640

3741
:::important
3842
The syntax for `<your-nebari-domain.com>` is important - do not include `https://` or a trailing `/`. If you have the incorrect syntax, it will result in the error:
39-
```Could not resolve hostname <your-nebari-domain.com>: nodename nor servname provided, or not known```
43+
`Could not resolve hostname <your-nebari-domain.com>: nodename nor servname provided, or not known`
4044
:::
4145

4246
You will then be prompted for your password. Enter the token as the password and press `Enter`.
@@ -55,23 +59,24 @@ By default, SFTP uses the SSH protocol to authenticate and establish a secure co
5559

5660
Utilizing SFTP will depend on how your local machine is configured and the utility you're using for SFTP. In some cases, your SSH configuration will allow SFTP to work "out of the box". Other times, special SFTP setup is required in your SSH configuration to allow for these connections.
5761
Similar to `ssh`, from a terminal, use `sftp` to begin a new connection:
58-
```sftp <your-nebari-domain.com> -l <your-username> -p 8023```
62+
`sftp <your-nebari-domain.com> -l <your-username> -p 8023`
5963

6064
### Transferring Files with SFTP
6165

6266
Downloading Files:
6367

6468
- Use the `get` command to download files from the remote host:
65-
- `get <remote-file>` downloads the file with the same name to the local system.
66-
- `get <remote-file> <local-file>` downloads and saves the file with a different name.
67-
- To download a directory and its contents, use `get -r <some-directory>`.
68-
- To maintain permissions and access times, use `get -Pr <some-directory>`.
69+
- `get <remote-file>` downloads the file with the same name to the local system.
70+
- `get <remote-file> <local-file>` downloads and saves the file with a different name.
71+
- To download a directory and its contents, use `get -r <some-directory>`.
72+
- To maintain permissions and access times, use `get -Pr <some-directory>`.
6973

7074
Uploading Files:
7175

7276
- Use the `put` command to upload files to the remote system:
73-
- `put <local-file>` uploads the file.
74-
- To upload a directory and its contents, use `put -r <some-directory>`.
77+
- `put <local-file>` uploads the file.
78+
- To upload a directory and its contents, use `put -r <some-directory>`.
79+
7580
## Dangerous, but useful information
7681

7782
:::warning
51.3 KB
Loading

0 commit comments

Comments
 (0)