autossh

UNKNOWN

proudsourcing

proudsourcing

8,727 downloads

8,727 latest version

1.5 quality score

Version information

  • 1.1.0 (latest)
released Apr 7th 2014

Start using this module

Documentation

proudsourcing/autossh — version 1.1.0 Apr 7th 2014

proudsourcing-autossh

Puppet module to create an autossh connection (ssh tunnel).

Usage

class { 'ps_autossh': }

Configuration example

ps_autossh::tunnel { 'example.name':
    ensure      => "present",
    ssh_host    => "remote.host",
    ssh_user    => "root",
    ssh_key     => "/root/.ssh/id_rsa",
    target_host => "127.0.0.1",
    target_port => "3306",
    local_port  => "3307"
}

Default values:

$ensure         = present
$ssh_port       = '2'

License

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.

Copyright

Proud Sourcing GmbH 2014
www.proudsourcing.de