Page MenuHomeSoftware Heritage

README.markdown
No OneTemporary

README.markdown

# SSH Client and Server Puppet Module
Manage SSH client and server via Puppet
## Client only
Collected host keys from servers will be written to known_hosts
```
include ssh::client
```
## Server only
Host keys will be collected for client distribution
```
include ssh::server
```
## Both client and server
Host keys will be collected and distributed
```
include ssh
```
### Changing options
```
class { 'ssh':
server_options => {
'Match User www-data' => {
'ChrootDirectory' => '%h',
'ForceCommand' => 'internal-sftp',
'PasswordAuthentication' => 'yes',
'AllowTcpForwarding' => 'no',
'X11Forwarding' => 'no',
},
},
client_options => {
'Host *.amazonaws.com' => {
'User' => 'ec2-user',
},
},
}
```
# Requirements
* Exported resources for host keys management
* puppetlabs/stdlib

File Metadata

Mime Type
text/plain
Expires
Wed, Jun 4, 7:27 PM (1 w, 1 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3399162

Event Timeline