Add ssh keep alive and host key.
Set LD_LIBRARY_PATH and PATH.