#552064 autossh: environment variables ignored

Package:
autossh
Source:
autossh
Description:
Automatically restart SSH sessions and tunnels
Submitter:
Kapil Hari Paranjape
Date:
2010-12-22 09:42:02 UTC
Severity:
wishlist
#552064#5
Date:
2009-10-23 04:36:35 UTC
From:
To:
Hello,

Since autossh ignores environment variables it is difficult to get
the ssh link to use a socks proxy.

So for example an ssh connection which needs to go through a socks
proxy could be started as
  $ tsocks ssh -f -q -N remote_host
However, replacing ssh with autossh does not work.

Regards,

Kapil.
--

#552064#10
Date:
2010-01-01 18:22:17 UTC
From:
To:
Hi Kapil,

autossh will put ssh in background with -f, what doesn't work exactly? what is
the error? (you can set AUTOSSH_DEBUG in the environment)

filippo