summaryrefslogtreecommitdiffstats
path: root/test/docker/debug.sh
diff options
context:
space:
mode:
Diffstat (limited to 'test/docker/debug.sh')
-rwxr-xr-xtest/docker/debug.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/docker/debug.sh b/test/docker/debug.sh
new file mode 100755
index 0000000..c4be343
--- /dev/null
+++ b/test/docker/debug.sh
@@ -0,0 +1,9 @@
+#!/bin/bash
+
+# This script is run on in docker container. It will enable logging for sshd in
+# /var/log/auth.log.
+
+/etc/init.d/rsyslog start
+sleep 1
+/openssh/sshd-5.6p1 -o LogLevel=DEBUG3 -f /etc/ssh/sshd_config-5.6p1_test1
+/bin/bash