Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F8394611
README.markdown
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
925 B
Subscribers
None
README.markdown
View Options
# 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
Details
Attached
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
Attached To
rSPSSH puppet-saz-ssh
Event Timeline
Log In to Comment