Fix documentation of authorized_key.py
man for sshd http://www.openbsd.org/cgi-bin/man.cgi/OpenBSD-current/man8/sshd.8?query=sshd says there's no "host" option but "from".
This commit is contained in:
parent
d61fde42ef
commit
31ec203583
1 changed files with 1 additions and 1 deletions
|
@ -109,7 +109,7 @@ EXAMPLES = '''
|
||||||
# Using key_options:
|
# Using key_options:
|
||||||
- authorized_key: user=charlie
|
- authorized_key: user=charlie
|
||||||
key="{{ lookup('file', '/home/charlie/.ssh/id_rsa.pub') }}"
|
key="{{ lookup('file', '/home/charlie/.ssh/id_rsa.pub') }}"
|
||||||
key_options='no-port-forwarding,host="10.0.1.1"'
|
key_options='no-port-forwarding,from="10.0.1.1"'
|
||||||
|
|
||||||
# Set up authorized_keys exclusively with one key
|
# Set up authorized_keys exclusively with one key
|
||||||
- authorized_key: user=root key=public_keys/doe-jane state=present
|
- authorized_key: user=root key=public_keys/doe-jane state=present
|
||||||
|
|
Loading…
Reference in a new issue