Link to home
Start Free TrialLog in
Avatar of AXISHK
AXISHK

asked on

autossh

Any idea how to configure autossh  such that it can start as daemon when the system restart everytime ? ie. the  connectionis available to everyone.

Tks

ssh -fNg -L 3306:localhost:3306 sciadm@mysqlserver
Avatar of gheist
gheist
Flag of Belgium image

Which Linux you have?
Avatar of AXISHK
AXISHK

ASKER

Linux version 2.6.18-406.el5 (mockbuild@x86-026.build.eng.bos.redhat.com) (gcc version 4.1.2 20080704 (Red Hat 4.1.2-55)) #1 SMP Fri May 1 10:37:57 EDT 2015
Red Hat Enterprise Linux Server release 5.11 (Tikanga)

Tks
Package is here:
https://dl.fedoraproject.org/pub/epel/5/x86_64/repoview/autossh.html
You might want whole goodies and auto updates instead:
https://fedoraproject.org/wiki/EPEL
Avatar of AXISHK

ASKER

I install through this link : http://www.harding.motd.ca/autossh/

Is it not compatible ?

Tks
ASKER CERTIFIED SOLUTION
Avatar of gheist
gheist
Flag of Belgium image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of AXISHK

ASKER

Tks