mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Merge pull request #31288 from notpeter/ssh_known_hosts_docs
Improve salt.states.ssh_known_hosts documentation.
This commit is contained in:
commit
cd3400e67e
1 changed files with 4 additions and 5 deletions
|
@ -51,17 +51,16 @@ def present(
|
|||
The user who owns the ssh authorized keys file to modify
|
||||
|
||||
fingerprint
|
||||
The fingerprint of the key which must be presented in the known_hosts
|
||||
The fingerprint of the key which must be present in the known_hosts
|
||||
file (optional if key specified)
|
||||
|
||||
key
|
||||
The public key which must be presented in the known_hosts file
|
||||
The public key which must be present in the known_hosts file
|
||||
(optional if fingerprint specified)
|
||||
|
||||
port
|
||||
optional parameter, denoting the port of the remote host, which will be
|
||||
used in case, if the public key will be requested from it. By default
|
||||
the port 22 is used.
|
||||
optional parameter, port which will be used to when requesting the
|
||||
public key from the remote host, defaults to port 22.
|
||||
|
||||
enc
|
||||
Defines what type of key is being used, can be ed25519, ecdsa ssh-rsa
|
||||
|
|
Loading…
Add table
Reference in a new issue