Module ssh¶
License: Apache 2.0
Version: 1.0.5
Entities¶
- entity ssh::Key¶
Parents:
std::Entity
A public ssh-key used to access virtual machine
- attribute string public_key¶
The actual public key that needs to be deployed
- attribute string name¶
An identifier for the public key
- attribute string command=''¶
The command that can be executed with this public key
- attribute string options=''¶
SSH options associated with this public key
- relation ssh::SSHUser ssh_users [0:*]¶
other end:
ssh::SSHUser.ssh_keys [0:*]
The following implements statements select implementations for this entity:
std::none
constrainttrue
- entity ssh::SSHUser¶
Parents:
std::Entity
An ssh users allows authorized keys to be installed
- attribute string home_dir¶
- attribute string user¶
- attribute string group¶
- relation ssh::Key ssh_keys [0:*]¶
other end:
ssh::Key.ssh_users [0:*]
- relation mitogen::Context via [0:1]¶
Mitogen context dedicated to this resource. If not specified, defaults to the one of the host.
- relation std::Host host [1]¶
Relation to the host on which the package should be deployed.
The following implementations are defined for this entity:
The following implements statements select implementations for this entity:
ssh::sshUser
constrainttrue
Implementations¶
- implementation ssh::sshUser¶
Plugins¶
- ssh.get_private_key(name: 'string') 'string' ¶
Create or return if it already exists a key with the given name. The private key is returned.
- ssh.get_public_key(name: 'string') 'string' ¶
See get_private_key
- ssh.get_putty_key(name: 'string') 'string' ¶