autossh
autossh copied to clipboard
Heavily customizable AutoSSH Docker container
``` environment: - SSH_HOSTUSER=root - SSH_HOSTNAME=remote-addr - SSH_HOSTPORT=22 - SSH_TUNNEL_HOST=0.0.0.0 - SSH_TUNNEL_LOCAL=1080 - SSH_MODE=-D ```
maybe a mode of dynamic (-mode D) is useful, thanks.
I noticed an issue when stopping the container and then restarting it again immedietly after. It seems like the session was still active on the remote server and the port...
* Purpose We need to use an old rancher, that do not support secrets deploy with CLI, we want to use environment variable instead * Before ssh key was only...
Hi, I found that you cannot simply pass ssh options for tunnel. Think it can be done via mounting `.ssh/config` ⇒ `/etc/ssh/ssh_config`, but it would be good to add some...
Hey Justin, I find the container extremely useful, thanks so much for putting it together. I have one feature request - can you please add support for forwarding multiple ports...
This still checks the hosts My compose: ```yaml version: '3.7' services: tunnel: image: jnovack/autossh container_name: tunnel environment: - SSH_REMOTE_USER=pi - SSH_REMOTE_HOST=docker.lan - SSH_REMOTE_PORT=22 - SSH_TUNNEL_PORT=2222 - SSH_TARGET_HOST=192.168.88.254 - SSH_TARGET_PORT=22 -...
I suggest that the destination mounting point should be something like /config/id_rsa instead of /id_rsa so we can mount a volume to /config that contains both id_rsa and known_hosts You...
The latest image breaks on my RPi4 (image hash: sha256:51114f14d3f42a0142f5056d73ac92bb97a4a6ed5d2e9ad8221c15d190b4fce9): ``` autossh_web_1 | jnovack/autossh v2.0.0-4-g91ad8b5 revision 91ad8b5 built 2021-02-11T21:09:05Z autossh_web_1 | Agent pid 9 autossh_web_1 | Identity added: (stdin) (autossh_user@router)...