Skip to content

Commit

Permalink
Remove invalid commands on login with ssh port (gravitational#19237)
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenGravy authored Jan 18, 2023
1 parent b901ace commit a1b3b1c
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions docs/pages/connect-your-client/tsh.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -124,24 +124,21 @@ To retrieve a user's certificate, execute:

```code
# Full form:
$ tsh login --proxy=proxy_host:<https_proxy_port>,<ssh_proxy_port>
$ tsh login --proxy=proxy_host:<https_proxy_port>
# Using default ports:
$ tsh login --proxy=work.example.com
# Using custom HTTPS port:
$ tsh login --proxy=work.example.com:5000
# Using a custom SSH proxy port, which is set on the Auth Server:
$ tsh login --proxy=work.example.com:2002
```

</ScopedBlock>
<ScopedBlock scope={["cloud"]}>

```code
# Full form:
$ tsh login --proxy=proxy_host:<https_proxy_port>,<ssh_proxy_port>
$ tsh login --proxy=proxy_host:<https_proxy_port>
$ tsh login --proxy=mytenant.teleport.sh
```
Expand All @@ -153,7 +150,6 @@ $ tsh login --proxy=mytenant.teleport.sh
| Port | Description |
| - | - |
| https_proxy_port | the HTTPS port the proxy host is listening to (defaults to `3080`). |
| ssh_proxy_port | the SSH port the proxy is listening to (defaults to `3023`). |

The login command retrieves a user's certificate and stores it in `~/.tsh`
directory as well as in the [ssh agent](https://en.wikipedia.org/wiki/Ssh-agent) if there is one running.
Expand Down

0 comments on commit a1b3b1c

Please sign in to comment.