Link to home
Start Free TrialLog in
Avatar of AXISHK
AXISHK

asked on

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
Avatar of noci
noci

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).
Avatar of 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)

Installation file : http://www.harding.motd.ca/autossh/
ASKER CERTIFIED SOLUTION
Avatar of noci
noci

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