ssh tunnel unattended
Yan Seiner
yan at seiner.com
Sun Aug 7 19:29:20 AWST 2016
I have a remote node that I want to administer. I want to run an ssh
tunnel from that node to my router.
If I start it from the command line with
/usr/bin/ssh -R 1022:localhost:22 uuu at example.com -p 23
everything works fine.
But if I try to run it from inittab or /etc/rc.local, it never connects.
I've tried
/usr/bin/ssh -N -T -R 1022:localhost:22 uuu at example.com -p 23
/usr/bin/ssh -N -R 1022:localhost:22 uuu at example.com -p 23
nothing seems to work. How do I run a tunnel automatically from an
embedded box?
Thanks.
More information about the Dropbear
mailing list