Fixes typos in README

This commit is contained in:
Christian Baer 2023-01-29 09:15:13 +01:00
parent f27ca829bd
commit 567444482b

View File

@ -2,11 +2,11 @@
Dockerfile for building an image that runs an OpenSSH server that's configured to act as a ProxJump host only. Dockerfile for building an image that runs an OpenSSH server that's configured to act as a ProxJump host only.
The server listens on püort 2222. The only user that is able ta connect is _bastion_. It is not possible to get a terminal on the host. It is only suitable to ProxyJump to other hosts. The server listens on port 2222. The only user that is able ta connect is _bastion_. It is not possible to get a terminal on the host. It is only suitable to ProxyJump to other hosts.
At the first startup the host SSH keys will be created in _/config_ as well as an _authorized_keys_ file. At the first startup the host SSH keys will be created in _/config_ as well as an _authorized_keys_ file.
Just build the image, define a volume oder bindmount for _/config_ and add your public key the _authorized_keys_ file. Just build the image, define a volume oder bind mount for _/config_ and add your public key to the _authorized_keys_ file.
Expose port 2222 and you can connect as user _bastion_ with your defined private key. Expose port 2222 and you can connect as user _bastion_ with your defined private key.
@ -31,6 +31,6 @@ services:
read_only: true read_only: true
``` ```
In this example the whole conntainer is readonly and directories that have to be writable are mounted with tmpfs. In this example the whole container is readonly and directories that have to be writable are mounted with tmpfs.
Just create the _docker-compose.yml_ run `docker-compose up -d --build`and you're done. Just create the _docker-compose.yml_ run `docker-compose up -d --build`and you're done.