aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorJulien Dessaux2019-03-14 16:44:11 +0100
committerJulien Dessaux2019-03-14 16:44:11 +0100
commitefb8b7c3ae208d5bd45a1a030ccb6f6d61b112c9 (patch)
tree7154b7cfb98bac4eb124117ecc70a41dad7597c2 /README.md
parentAdded README and LICENSE (diff)
downloadbastion-efb8b7c3ae208d5bd45a1a030ccb6f6d61b112c9.tar.gz
bastion-efb8b7c3ae208d5bd45a1a030ccb6f6d61b112c9.tar.bz2
bastion-efb8b7c3ae208d5bd45a1a030ccb6f6d61b112c9.zip
Fixed build problem with SESSION_RECORDING flag set to OFF and updated the readme
Diffstat (limited to '')
-rw-r--r--README.md15
1 files changed, 10 insertions, 5 deletions
diff --git a/README.md b/README.md
index bf4eb9c..6337b47 100644
--- a/README.md
+++ b/README.md
@@ -4,8 +4,9 @@ SSH bastion that features transparent connection and session recording.
This project is inspired by https://github.com/moul/sshportal. I wrote this implementation to work around the fact that I couldn't get the go ssh lib
to work properly with non interactive sessions, the bug has been open for a long time and I tend to belive it cannot be fixed
-(https://github.com/moul/sshportal/issues/55). This one does work properly with non interactive sessions, which allows transparent ansible usage through
-the bastion.
+(https://github.com/moul/sshportal/issues/55).
+
+This bastion project does work properly with non interactive sessions, which allows transparent ansible usage through the bastion.
## Contents
@@ -39,10 +40,14 @@ make install
```
You can customise the build with the following cmake flags :
-- SESSION_RECORDING
-For exemple this disables session recording :
-`cmake .. -DSESSION_RECORDING=OFF`
+- `CMAKE_BUILD_TYPE` : Debug|Release|RelWithDebInfo|MinSizeRel, defaults to Release
+- `CMAKE_INSTALL_PREFIX` : path, defaults to `/usr/local`
+- `SESSION_RECORDING` : ON|OFF, defaults to ON
+
+For exemple this disables session recording for a debug build and install it under /usr :
+
+`cmake .. -DCMAKE_BUILD_TYPE=Debug -D CMAKE_INSTALL_PREFIX=/usr -DSESSION_RECORDING=OFF`
## Usage