{"id":19308664,"url":"https://github.com/mtulio/puppet-module-ssh","last_synced_at":"2026-03-10T01:34:34.953Z","repository":{"id":57665861,"uuid":"49573782","full_name":"mtulio/puppet-module-ssh","owner":"mtulio","description":"Puppet module to manage SSH client and server","archived":false,"fork":false,"pushed_at":"2016-02-28T06:32:40.000Z","size":24,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-03-02T07:56:28.954Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mtulio.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-01-13T12:56:28.000Z","updated_at":"2016-12-30T18:39:42.000Z","dependencies_parsed_at":"2022-09-14T13:01:23.259Z","dependency_job_id":null,"html_url":"https://github.com/mtulio/puppet-module-ssh","commit_stats":null,"previous_names":["mtulio/puppet-mod-ssh"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mtulio/puppet-module-ssh","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mtulio%2Fpuppet-module-ssh","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mtulio%2Fpuppet-module-ssh/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mtulio%2Fpuppet-module-ssh/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mtulio%2Fpuppet-module-ssh/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mtulio","download_url":"https://codeload.github.com/mtulio/puppet-module-ssh/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mtulio%2Fpuppet-module-ssh/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30320889,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-09T20:05:46.299Z","status":"ssl_error","status_checked_at":"2026-03-09T19:57:04.425Z","response_time":61,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-10T00:16:01.596Z","updated_at":"2026-03-10T01:34:34.936Z","avatar_url":"https://github.com/mtulio.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ssh\n\n[![Puppet Forge](http://img.shields.io/puppetforge/v/mtulio/ssh.svg)](https://forge.puppetlabs.com/mtulio/ssh)\n[![Build Status](https://travis-ci.org/mtulio/puppet-mod-ssh.png?branch=master)](https://travis-ci.org/mtulio/puppet-mod-ssh)\n\n\n#### Table of Contents\n\n1. [Overview](#1-overview)\n2. [Module Description](#2-module-description)\n3. [Setup](#3-setup)\n    * [What module affects](#what-module-affects)\n    * [Setup requirements](#setup-requirements)\n    * [Beginning](#beginning)\n4. [Usage](#4-usage)\n5. [Limitations](#5-limitations)\n6. [Development](#6-development)\n7. [Release Notes](#7-release-notes)\n\n## 1. Overview\n\nThis module can install and configure SSH server config file [ and in the future manages the client ]\n\n## 2. Module Description\n\nModule to manage SSH server config file.\n\n\n## 3. Setup\n\n See [Usage](#4-usage)\n\n### What module affects\n\n* This module module will install SSH server package in your system.\n\n### Setup Requirements \n\n* puppet module install mtulio-ssh\n\n### Beginning \n\nThis is a great module to configure your SSH server config file. \n\n## 4. Usage\n\n\n1. Default config\n\n```\n class { '::ssh::sshd_config': }\n```\n\n2. Permit root login and allow some users\n\n```\n class { '::ssh::sshd_config': \n   permitrootlogin   =\u003e 'yes'\n   allow_users       =\u003e 'root vagrant admin1'\n }\n```\n\n3. Ensure Local User, block root login\n\n```\n class { '::ssh::sshd_config': \n   user_local_enable =\u003e 'yes',\n   user_local_ensure =\u003e 'sysadmin',\n   user_password     =\u003e '$6$GpTlgkVr$CHLWoyzd4fGD/c4eG2A5JnR8HvsrUF0sGnHrpumysSsJRW5laOfMrvuYX3qjlLriQXGQVHqLq8UIpOxe9Wz2C1', # admin@123\n   permitrootlogin   =\u003e 'no'\n   allow_users       =\u003e 'vagrant admin1 admin2 admin3'\n }\n```\n4. Set sshd banner. Ensure the file is present\n```\nfile {'/etc/ssh/banner':\n  path =\u003e '/etc/ssh/banner',\n  source =\u003e \"puppet:///modules/ssh/sshd_banner_example_pt-br\",\n  owner   =\u003e 'root',\n  group   =\u003e 'root',\n  mode    =\u003e '0644',\n}\nclass { '::ssh::sshd_config':\n  user_local_enable =\u003e 'yes',\n  user_local_ensure =\u003e 'sysadmin',\n  user_password     =\u003e '$6$GpTlgkVr$CHLWoyzd4fGD/c4eG2A5JnR8HvsrUF0sGnHrpumysSsJRW5laOfMrvuYX3qjlLriQXGQVHqLq8UIpOxe9Wz2C1', # admin@123,\n  permitrootlogin   =\u003e 'no',\n  allow_users       =\u003e 'admin1 admin2 admin3'\n  bannerpath\t    =\u003e '/etc/ssh/banner',\n}\n```\n\n## 5. Limitations\n\nOS compatibility [tested]: \n* Red Hat family 6Server and 7Server\n\nWe're working to support more OS.\n\n## 6. Development\n\nSee project page at https://github.com/mtulio/puppet-mod-ssh\n\n## 7. Release Notes\n\n[1.3.0] [1.3.1]\n* Add Allow/Deny users and groups\n\n[1.2.1] \n* Fix metadata dependences\n\n[1.2.0]\n* Add 'banner' support to template config file - sshd_conf\n\n[1.1.0]\n* Changing global parameter of sshd_config template:\n\n\u003e\u003e from: \n```\nGSSAPIAuthentication yes\nGSSAPICleanupCredentials no\n```\n```\n\n\u003e\u003e to:\n```\nGSSAPIAuthentication no\nGSSAPICleanupCredentials yes\n```\n\n[1.0.1] \n* Review document description\n\n[1.0.0]\n* Manage sshd_config\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmtulio%2Fpuppet-module-ssh","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmtulio%2Fpuppet-module-ssh","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmtulio%2Fpuppet-module-ssh/lists"}