Commit d3ee957a authored by Andreas Schneider's avatar Andreas Schneider

example: Add OSX variables for preloading.

parent cd219843
......@@ -8,6 +8,10 @@ To use socket_wrapper the following environment variables need to be set:
On MacOSX it is:
The following environment variables could be set:
......@@ -54,13 +54,13 @@ export SOCKET_WRAPPER_DEFAULT_IFACE=11
echo "Starting SSHD with SOCKET_WRAPPER_DIR=${SSH_DIRECTORY}/swrap ..." /usr/sbin/sshd -f ${SSH_DIRECTORY}/sshd_config -e 2> ${SSH_DIRECTORY}/sshd_log || cleanup_and_exit 1
DYLD_INSERT_LIBRARIES=libsocket_wrapper.dylib /usr/sbin/sshd -f ${SSH_DIRECTORY}/sshd_config -e 2> ${SSH_DIRECTORY}/sshd_log || cleanup_and_exit 1
echo "done"
echo "Connecting to the ${SERVER_ADDRESS} ssh server using ssh binary."
echo "You can check the sshd log file at ${SSH_DIRECTORY}/sshd_log."
echo "If you logout sshd will be stopped and the environment cleaned up." ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no ${SERVER_ADDRESS}
DYLD_INSERT_LIBRARIES=libsocket_wrapper.dylib ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no ${SERVER_ADDRESS}
cleanup_and_exit 0
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment