Skip to content

Commit

Permalink
Last README change
Browse files Browse the repository at this point in the history
  • Loading branch information
libvoid committed Sep 1, 2023
1 parent 45e4ebc commit de04d04
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -130,15 +130,16 @@ Your key is now associated with the user "sshportal@localhost".
ssh sshportal@localhost -p 2222
```

Create your first host

5) Create your first host

```console
config> host create bart@foo.example.org
1
config>
```

List hosts
6) List hosts

```console
config> host ls
Expand All @@ -149,7 +150,7 @@ Total: 1 hosts.
config>
```

Add the `host` key to the server
7) Add the `host` key to the server

```console
config> host ls
Expand All @@ -167,14 +168,14 @@ config> key ls
ssh bart@foo.example.org "$(ssh sshportal@localhost -p 2222 key setup host)"
```

Profit
8) Profit

```console
ssh localhost -p 2222 -l foo
bart@foo>
```

Invite friends
9) Invite friends

*This command doesn't create a user on the remote server, it only creates an account in the sshportal database.*

Expand Down Expand Up @@ -228,7 +229,7 @@ Demo gif:

**(Known) limitations**

* Does not work (yet?) with [`mosh`](https://mosh.org/)
* Does not work with [`mosh`](https://mosh.org/)
* It is not possible for a user to access a host with the same name as the user. This is easily circumvented by changing the user name, especially since the most common use cases does not expose it.
* It is not possible to access a host named `healthcheck` as this is a built-in command.

Expand Down

0 comments on commit de04d04

Please sign in to comment.