Skip to content

Commit

Permalink
Reformateo
Browse files Browse the repository at this point in the history
  • Loading branch information
amateo committed Mar 3, 2014
1 parent 262fd19 commit 0506606
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions README.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -159,18 +159,22 @@ PasswordAuthentication no
## Defining host keys for server
You can define host keys your server will use

```
ssh::server::host_key {'ssh_host_rsa_key':
private_key_content => '<the private key>',
public_key_content => '<the public key>',
}
```

Alternately, you could create the host key providing the files, instead
of the content:

```
ssh::server::host_key {'ssh_host_rsa_key':
private_key_source => 'puppet:///mymodule/ssh_host_rsa_key',
public_key_source => 'puppet:///mymodule/ssh_host_rsa_key.pub',
}
```

Both of these definitions will create /etc/ssh/ssh_host_rsa_key and
/etc/ssh/ssh_host_rsa_key.pub and restart sshd daemon.
Both of these definitions will create ```/etc/ssh/ssh_host_rsa_key``` and
```/etc/ssh/ssh_host_rsa_key.pub``` and restart sshd daemon.

0 comments on commit 0506606

Please sign in to comment.