how to configure autossh

Install autossh on Linux and move all the file under /etc/autossh.

I have read through the readme file but I have no idea how to put the following command to start as daemon.

Can anyone give me more information on this ?

Tks
AXISHKAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

nociSoftware EngineerCommented:
what kind of system,Distribution like Debian, RedHat, Fedora, Suse, CentOS, Ubuntu...,  is this installed on?
Doesn't your distribution have it in the repository?

For Debian derived systems: apt-get install autossh
For RPM (Suse, RH, Fedora, CentOS) : rpm -ivh autossh
(Fedora should have it, RH& Centos can get it trhough either native library, or EPEL).
AXISHKAuthor Commented:
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)

Installation file : http://www.harding.motd.ca/autossh/
nociSoftware EngineerCommented:
So you are running RHEL 5.  
According to http://RPMFIND.net no native package exists
This is a description
https://apps.fedoraproject.org/packages/autossh

The easy way:
That means you can add the fedora EPEL 5 tor you repository
Here is a description how to do that https://fedoraproject.org/wiki/EPEL 
(or download the RPM from there, and install separate).
The RPM's are preconfigured for RHEL/CENTOS/FEDORA setup's. You need to install and el5 (Enterprise  Linux 5 rpm).
This means it can also be uninstalled/upgraded etc.etc.
At least find a EL5 rpm for this tool.


The hard way:
Follow the instructions on the website if you are a non-programmer.
(deinstall is hard..)

That is your choise, i would go for the easy option.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
AXISHKAuthor Commented:
Tks
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux

From novice to tech pro — start learning today.