Add support for configuration of ssh keys from environment variables.
A number of breaking changes were made which requried a version bump.
-
Renamed lots of confusing variables names to less confusing variable names
SSH_TUNNEL_HOST
toSSH_TARGET_HOST
SSH_TUNNEL_LOCAL
toSSH_TARGET_PORT
SSH_TUNNEL_REMOTE
toSSH_TUNNEL_PORT
SSH_HOSTUSER
toSSH_REMOTE_USER
SSH_HOSTNAME
toSSH_REMOTE_HOST
SSH_HOSTPORT
toSSH_REMOTE_PORT
SERVER_ALIVE_INTERVAL
toSSH_SERVER_ALIVE_INTERVAL
SERVER_ALIVE_COUNT_MAX
toSSH_SERVER_ALIVE_COUNT_MAX
-
Docker Swarm compatibility
- Renamed
SSH_KNOWN_HOSTS
toSSH_KNOWN_HOSTS_FILE
- Renamed
- Image is now runnable as non-root user
- Allowed
autossh
variables to be configurableAUTOSSH_PIDFILE
AUTOSSH_POLL
AUTOSSH_GATETIME
AUTOSSH_FIRST_POLL
AUTOSSH_LOGLEVEL
AUTOSSH_LOGFILE
- Allowed
ssh
variables to be configurableSERVER_ALIVE_INTERVAL
SERVER_ALIVE_COUNT_MAX
- Actually works